Disallow more than one BOARD instance - new instances will be closed if one instance already exists, and previous instance will be made active

git-svn-id: svn://kolibrios.org@4673 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
izikiel 2014-03-21 16:06:08 +00:00
parent 1bb0d90607
commit 9d6deb9047

View File

@ -406,6 +406,7 @@ CheckUnique:
jmp .check_threads jmp .check_threads
.close_program: .close_program:
mcall 18,3 ; restore and active window of previous thread
mov eax, -1 mov eax, -1
mcall mcall