forked from mono/mono
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[coop] Make sure suspend_count is positive in suspend request states
* Fix bug in pulse transition - the suspend count was lost and incorrectly swapped to 0. * finish_async_suspend transition - add assertions that the suspend count is positive. Try to catch incorrect states sooner. Fixes mono#12235
- Loading branch information
1 parent
362b1a5
commit 66c9448
Showing
1 changed file
with
5 additions
and
1 deletion.
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