Changeset 30534 in vbox
- Timestamp:
- Jun 30, 2010 4:16:59 PM (15 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/EventImpl.cpp
r30521 r30534 99 99 void VBoxEvent::uninit() 100 100 { 101 AutoUninitSpan autoUninitSpan(this); 102 if (autoUninitSpan.uninitDone()) 103 return; 104 101 105 if (!m) 102 106 return; … … 254 258 void VBoxVetoEvent::uninit() 255 259 { 260 AutoUninitSpan autoUninitSpan(this); 261 if (autoUninitSpan.uninitDone()) 262 return; 263 256 264 VBoxEvent::uninit(); 257 265 if (!m) … … 624 632 void EventSource::uninit() 625 633 { 634 AutoUninitSpan autoUninitSpan(this); 635 if (autoUninitSpan.uninitDone()) 636 return; 626 637 m->mListeners.clear(); 627 638 // m->mEvMap shall be cleared at this point too by destructors, assert? -
trunk/src/VBox/Main/include/EventImpl.h
r30523 r30534 79 79 DECLARE_PROTECT_FINAL_CONSTRUCT() 80 80 81 BEGIN_COM_MAP(VBox Event)81 BEGIN_COM_MAP(VBoxVetoEvent) 82 82 COM_INTERFACE_ENTRY(ISupportErrorInfo) 83 COM_INTERFACE_ENTRY (IEvent)84 //COM_INTERFACE_ENTRY(IVetoEvent)85 COM_INTERFACE_ENTRY (IDispatch)83 COM_INTERFACE_ENTRY2(IEvent, IVetoEvent) 84 COM_INTERFACE_ENTRY(IVetoEvent) 85 COM_INTERFACE_ENTRY2(IDispatch, IVetoEvent) 86 86 END_COM_MAP() 87 87
Note:
See TracChangeset
for help on using the changeset viewer.