Changeset 35727 in vbox for trunk/src/VBox/Frontends/VBoxHeadless
- Timestamp:
- Jan 27, 2011 9:52:23 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 69674
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp
r35722 r35727 1041 1041 ComPtr<IEventSource> es; 1042 1042 CHECK_ERROR(console, COMGETTER(EventSource)(es.asOutParam())); 1043 consoleListener.createObject(); 1043 consoleListener.createObject(); 1044 1044 consoleListener->init(new ConsoleEventListener()); 1045 1045 com::SafeArray<VBoxEventType_T> eventTypes; … … 1279 1279 if (!es.isNull()) 1280 1280 CHECK_ERROR(es, UnregisterListener(vboxListener)); 1281 vboxListener ->Release();1281 vboxListener.setNull(); 1282 1282 } 1283 1283 … … 1289 1289 if (!es.isNull()) 1290 1290 CHECK_ERROR(es, UnregisterListener(consoleListener)); 1291 consoleListener ->Release();1291 consoleListener.setNull(); 1292 1292 } 1293 1293 … … 1299 1299 if (!pES.isNull()) 1300 1300 CHECK_ERROR(pES, UnregisterListener(vboxClientListener)); 1301 vboxClientListener ->Release();1301 vboxClientListener.setNull(); 1302 1302 } 1303 1303
Note:
See TracChangeset
for help on using the changeset viewer.