Index: /trunk/src/VBox/Main/src-server/xpcom/server.cpp
===================================================================
--- /trunk/src/VBox/Main/src-server/xpcom/server.cpp	(revision 65246)
+++ /trunk/src/VBox/Main/src-server/xpcom/server.cpp	(revision 65247)
@@ -262,4 +262,7 @@
                  * but before it started to process it. */
                 LogRel(("Destruction is canceled (refcnt=%d).\n", count));
+                /* Important: restore previous refcount, we decreased it
+                 * above based on the assumption that the object is unused! */
+                sInstance->AddRef();
             }
 
