mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +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:
parent
69d0df4728
commit
97e75d9ef2
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue