mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +00:00
Flush the gdi batch in NtGdiDeletObjectApp to make sure we don't try to do stuff with deleted objects later. This fixes some problems with Firefox.
svn path=/trunk/; revision=38501
This commit is contained in:
@@ -1090,6 +1090,8 @@ BOOL
|
||||
APIENTRY
|
||||
NtGdiDeleteObjectApp(HANDLE DCHandle)
|
||||
{
|
||||
/* Complete all pending operations */
|
||||
NtGdiFlushUserBatch();
|
||||
|
||||
if (GDI_HANDLE_IS_STOCKOBJ(DCHandle)) return TRUE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user