[gnome-builder/wip/gtk4-port: 1677/1774] libide/foundry: check for valid run tool
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1677/1774] libide/foundry: check for valid run tool
- Date: Mon, 11 Jul 2022 22:31:53 +0000 (UTC)
commit 05457491d9c31573070e95c1316307f3fa0634e6
Author: Christian Hergert <chergert redhat com>
Date: Mon Jun 27 17:30:03 2022 -0700
libide/foundry: check for valid run tool
src/libide/foundry/ide-run-manager.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/foundry/ide-run-manager.c b/src/libide/foundry/ide-run-manager.c
index dcbcf8949..bd723a484 100644
--- a/src/libide/foundry/ide-run-manager.c
+++ b/src/libide/foundry/ide-run-manager.c
@@ -774,7 +774,8 @@ ide_run_manager_run_subprocess_wait_check_cb (GObject *object,
else
ide_task_return_boolean (task, TRUE);
- _ide_run_tool_emit_stopped (self->run_tool);
+ if (self->run_tool != NULL)
+ _ide_run_tool_emit_stopped (self->run_tool);
g_signal_emit (self, signals[STOPPED], 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]