-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🧹 Engine initialization/cleanup refactoring (#1201)
- Move static class initialization from Engine to Searcher (prep for multiple, shorter-lived engines) - Move forced GC collection from Engine to Searcher (prep for multiple engines) - Prepare engine to be disposed, aka allowing it to be clear its resources (prep for multiple engines, and potential engine re-allocation) - Remove Engine `_isNewGameCommandSupported` and `_isNewGameComing` - Dispose Engine `_searchCancellationTokenSource` and `_absoluteSearchCancellationTokenSource`
- Loading branch information
1 parent
741768f
commit e8bdff6
Showing
3 changed files
with
48 additions
and
36 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
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
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