-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix close/reopen crash on linux. Fixes #249.
cairo_device_finish must be called before closing the xcb connection, otherwise the invalid connection will not be removed from an internal cairo cache. When reopening the editor there's then a risk that the new connection has the same pointer value as the old one and that will cause a crash. The call to cairo_device_finish should not be made until the last instance of the editor has been closed. If it's done earlier, the remaining editors will stop working.
- Loading branch information
Showing
3 changed files
with
18 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