Index: /trunk/src/VBox/Main/DisplayImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/DisplayImpl.cpp	(revision 278)
+++ /trunk/src/VBox/Main/DisplayImpl.cpp	(revision 279)
@@ -194,4 +194,7 @@
     BOOL finished = TRUE;
 
+    /* Reset the event here. It could be signalled before it gets to after 'if (!finished)' */
+    RTSemEventMultiReset(mResizeSem);
+
     mFramebuffer->RequestResize (pixelFormat, (ULONG)pvVRAM, cbLine, w, h, &finished);
 
@@ -203,9 +206,8 @@
          *       The EMT keeps the lock until the resize process completes.
          */
-        
+
         /* The framebuffer needs more time to process
          * the event so we have to halt the VM until it's done.
          */
-        RTSemEventMultiReset(mResizeSem);
         RTSemEventMultiWait(mResizeSem, RT_INDEFINITE_WAIT); /** @todo r=bird: this is a serious deadlock point, where EMT is stuck while the main thread is doing VMR3Req for some reason. */
     }
