Commit e9a1cabe authored by Committed by Petr Menšík
Delay kserver cleanup until all tasks finishes
It might be possible some pending task would run when kserver is already cleaned up. Postpone gsstsig structures cleanup after task and timer managers are destroyed. No pending threads are possible after it. Make action in maybeshutdown only if doshutdown was not already called. Might be called from getinput event.
Showing with 23 additions and 14 deletions