-
Notifications
You must be signed in to change notification settings - Fork 904
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes two memory leaks, which caused the scraper to crash after a whi…
…le. I believe this fixes #180. Fixes #352 (duplicate). Fixes #362 (duplicate). The destructor for AsyncHandle needs to be virtual as its subclasses are allocated dynamically. I believe this caused the ImageDownloadHandle and its related resources (such as the HttpReq and its contents) not to be freed correctly.
- Loading branch information
1 parent
721b02c
commit 1e320b7
Showing
3 changed files
with
11 additions
and
0 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