Index: /trunk/src/VBox/Main/src-client/DisplayImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/src-client/DisplayImpl.cpp	(revision 51655)
+++ /trunk/src/VBox/Main/src-client/DisplayImpl.cpp	(revision 51656)
@@ -2307,4 +2307,6 @@
     pFBInfo->pFramebuffer = aFramebuffer;
 
+    alock.release();
+
     /* The driver might not have been constructed yet */
     if (mpDrv)
@@ -2318,6 +2320,4 @@
                             pFBInfo->flags);
     }
-
-    alock.release();
 
     Console::SafeVMPtrQuiet ptrVM(mParent);
