-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WASimModule] Refactor how the tick loop's "Frame" event driver is su…
…spended/resumed: - Fixes SimConnect error when trying to unsubscribe from the "Frame" event (cause unknown); - Use SimConnect_SetSystemEventState() to start or pause Frame event updates (no errors, yay!); - Pause the tick loop if last data request is removed or all clients have paused their updates; - Don't check for client timeout if data updates are paused; - Remove redundant condition check when automatically re-connecting a client.
- Loading branch information
Showing
1 changed file
with
48 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters