mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +00:00
[win32k]
- remove assertions from the process callout checking that ppiCurrent->rpdeskStartup and ppiCurrent->hdeskStartup are valid. This can happen in case we fail to open the initial desktop or window station svn path=/trunk/; revision=55726
This commit is contained in:
@@ -187,10 +187,10 @@ Win32kProcessCallback(struct _EPROCESS *Process,
|
||||
}
|
||||
|
||||
/* Close the startup desktop */
|
||||
ASSERT(ppiCurrent->rpdeskStartup);
|
||||
ASSERT(ppiCurrent->hdeskStartup);
|
||||
ObDereferenceObject(ppiCurrent->rpdeskStartup);
|
||||
ZwClose(ppiCurrent->hdeskStartup);
|
||||
if(ppiCurrent->rpdeskStartup)
|
||||
ObDereferenceObject(ppiCurrent->rpdeskStartup);
|
||||
if(ppiCurrent->hdeskStartup)
|
||||
ZwClose(ppiCurrent->hdeskStartup);
|
||||
|
||||
/* Close the current window station */
|
||||
UserSetProcessWindowStation(NULL);
|
||||
|
||||
Reference in New Issue
Block a user