mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-05 00:40:26 +00:00
Prevents disconnection on macOS
Need to check if in Linux it was disconnecting randomly too.
This commit is contained in:
parent
94acb48b6f
commit
542c72fc2c
|
@ -7456,7 +7456,7 @@ SUB DebugMode
|
|||
|
||||
GetCommand:
|
||||
GET #debugClient&, , temp$
|
||||
IF _CONNECTED(debugClient&) = 0 THEN
|
||||
IF os$ = "WIN" AND _CONNECTED(debugClient&) = 0 THEN
|
||||
clearStatusWindow 0
|
||||
setStatusMessage 1, "Debug session aborted.", 7
|
||||
setStatusMessage 2, "Disconnected.", 2
|
||||
|
@ -7484,7 +7484,7 @@ SUB DebugMode
|
|||
SendCommand:
|
||||
cmd$ = cmd$ + endc$
|
||||
PUT #debugClient&, , cmd$
|
||||
IF _CONNECTED(debugClient&) = 0 THEN
|
||||
IF os$ = "WIN" AND _CONNECTED(debugClient&) = 0 THEN
|
||||
clearStatusWindow 0
|
||||
setStatusMessage 1, "Debug session aborted.", 7
|
||||
setStatusMessage 2, "Disconnected.", 2
|
||||
|
|
Loading…
Reference in a new issue