-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash due to improper memory context handling in some cases
AsyncSource mechanism which uses a separate thread to read data can sometimes try to manipulate an address that may be invalid because of memory context reset or delete by the main thread. Fix that by implementing a dedicated memory context for AsyncSource, which is only manipulated in the reading thread. Fixes #27.
- Loading branch information
Showing
1 changed file
with
21 additions
and
2 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