Skip to content

Commit

Permalink
Don't freeze object on child_watch_done
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
  • Loading branch information
felipec committed Mar 17, 2023
1 parent 199af9c commit 231280c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/vte.cc
Expand Up @@ -3237,9 +3237,6 @@ Terminal::child_watch_done(pid_t pid,
if (pid != m_pty_pid)
return;

GObject *object = G_OBJECT(m_terminal);
g_object_freeze_notify(object);

_VTE_DEBUG_IF (VTE_DEBUG_LIFECYCLE) {
g_printerr ("Child[%d] exited with status %d\n",
pid, status);
Expand Down Expand Up @@ -3268,8 +3265,6 @@ Terminal::child_watch_done(pid_t pid,
/* Tell observers what's happened. */
if (m_real_widget)
m_real_widget->emit_child_exited(status);

g_object_thaw_notify(object);
}

static void
Expand Down

0 comments on commit 231280c

Please sign in to comment.