diff options
author | 2014-03-12 12:21:09 +0000 | |
---|---|---|
committer | 2014-03-12 12:21:09 +0000 | |
commit | b3ba4a464978ed98cfecad3265c74e0b81f94672 (patch) | |
tree | dbf62d02a1047ff995d05d7f8eebb6ffa7c93b55 /src/emu/bus/nubus | |
parent | f7c49a5019535bd8bca8075568c9f9e388be030a (diff) |
changed destructors to prevent crash on exit (nw)
Diffstat (limited to 'src/emu/bus/nubus')
-rw-r--r-- | src/emu/bus/nubus/nubus.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/bus/nubus/nubus.h b/src/emu/bus/nubus/nubus.h index 5694048814b..d318a23c201 100644 --- a/src/emu/bus/nubus/nubus.h +++ b/src/emu/bus/nubus/nubus.h @@ -85,6 +85,7 @@ public: // construction/destruction nubus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); nubus_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + ~nubus_device() { m_device_list.detach_all(); } // inline configuration static void static_set_cputag(device_t &device, const char *tag); |