[ros-diffs] [fireball] 46756: - Finally implement timeout removal from the old desktop when setting a new one for the process.

fireball at svn.reactos.org fireball at svn.reactos.org
Wed Apr 7 00:08:17 CEST 2010


Author: fireball
Date: Wed Apr  7 00:08:17 2010
New Revision: 46756

URL: http://svn.reactos.org/svn/reactos?rev=46756&view=rev
Log:
- Finally implement timeout removal from the old desktop when setting a new one for the process.

Modified:
    branches/arwinss/reactos/subsystems/win32/win32k/wine/winstation.c

Modified: branches/arwinss/reactos/subsystems/win32/win32k/wine/winstation.c
URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win32/win32k/wine/winstation.c?rev=46756&r1=46755&r2=46756&view=diff
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/wine/winstation.c [iso-8859-1] (original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/wine/winstation.c [iso-8859-1] Wed Apr  7 00:08:17 2010
@@ -355,8 +355,7 @@
     ExfReleasePushLockShared(&eProcess->ProcessLock);
     KeLeaveCriticalRegion();
 
-#if 0
-    if (!process->is_system)
+    if (desktop)
     {
         desktop->users++;
         if (desktop->close_timeout)
@@ -366,9 +365,6 @@
         }
         if (old_desktop) old_desktop->users--;
     }
-#else
-    DPRINT1("close_timeout for this process is not done yet!\n");
-#endif
 
     if (old_desktop) release_object( old_desktop );
 }




More information about the Ros-diffs mailing list