[geany/geany] 35d27a: Merge pull request #2634 from madpilot78/FreeBSD_crash_on_close_fix
Colomban Wendling
git-noreply at xxxxx
Sat Oct 24 20:34:22 UTC 2020
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Sat, 24 Oct 2020 20:34:22 UTC
Commit: 35d27a4a2809e2c9ae9da2ae2c00eaebc74904ba
https://github.com/geany/geany/commit/35d27a4a2809e2c9ae9da2ae2c00eaebc74904ba
Log Message:
-----------
Merge pull request #2634 from madpilot78/FreeBSD_crash_on_close_fix
Disconnect signal handler from vte before destroying the widget.
Modified Paths:
--------------
src/vte.c
Modified: src/vte.c
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -399,6 +399,7 @@ void vte_close(void)
g_free(vf);
/* free the vte widget before unloading vte module
* this prevents a segfault on X close window if the message window is hidden */
+ g_signal_handlers_disconnect_by_func(vc->vte, G_CALLBACK(vte_start), NULL);
gtk_widget_destroy(vc->vte);
gtk_widget_destroy(vc->menu);
g_object_unref(vc->menu);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list