FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[[ Bug ]] Ensure invisiblehwnd is destroyed on ~MCScreenDC · livecode/livecode@281650a · GitHub

This repository was archived by the owner on Aug 31, 2021. It is now read-only.
/ livecode Public archive

Commit 281650a

Browse files
committed
[[ Bug ]] Ensure invisiblehwnd is destroyed on ~MCScreenDC
This patch ensures that the invisiblehwnd which is created on windows is deleted when MCScreenDC is destroyed.
1 parent ff826d1 commit 281650a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎engine/src/w32dcs.cpp‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,9 @@ Boolean MCScreenDC::close(Boolean force)
312312
timeEndPeriod(1);
313313
opened = 0;
314314

315+
DestroyWindow(invisiblehwnd);
316+
invisiblehwnd = NULL;
317+
315318
return True;
316319
}
317320

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL