Release GDI lock before calling DeleteDC from RestoreDC.
This commit is contained in:
parent
3954117ce4
commit
717433854e
|
@ -524,7 +524,9 @@ BOOL WINAPI RestoreDC( HDC hdc, INT level )
|
|||
success=FALSE;
|
||||
}
|
||||
GDI_ReleaseObj( hdcs );
|
||||
GDI_ReleaseObj( hdc );
|
||||
DeleteDC( hdcs );
|
||||
if (!(dc = DC_GetDCPtr( hdc ))) return FALSE;
|
||||
}
|
||||
GDI_ReleaseObj( hdc );
|
||||
return success;
|
||||
|
|
Loading…
Reference in New Issue