[gnome-builder/wip/gtk4-port] libide/debugger: remove dead code



commit dc297a9d80c976e63a2815d9e9e18ccbe7d4df23
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jun 24 22:17:15 2022 -0700

    libide/debugger: remove dead code

 src/libide/debugger/ide-debug-manager.c | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/src/libide/debugger/ide-debug-manager.c b/src/libide/debugger/ide-debug-manager.c
index f558def73..f80be75c3 100644
--- a/src/libide/debugger/ide-debug-manager.c
+++ b/src/libide/debugger/ide-debug-manager.c
@@ -45,7 +45,6 @@ struct _IdeDebugManager
   GHashTable     *breakpoints;
   IdeDebugger    *debugger;
   IdeSignalGroup *debugger_signals;
-  IdeRunner      *runner;
   GQueue          pending_breakpoints;
   GPtrArray      *supported_languages;
 
@@ -296,9 +295,6 @@ ide_debug_manager_debugger_stopped (IdeDebugManager       *self,
     case IDE_DEBUGGER_STOP_EXITED:
     case IDE_DEBUGGER_STOP_EXITED_NORMALLY:
     case IDE_DEBUGGER_STOP_EXITED_SIGNALED:
-      /* Cleanup any lingering debugger process */
-      if (self->runner != NULL)
-        ide_runner_force_quit (self->runner);
       break;
 
     case IDE_DEBUGGER_STOP_BREAKPOINT_HIT:
@@ -557,7 +553,6 @@ ide_debug_manager_dispose (GObject *object)
   g_hash_table_remove_all (self->breakpoints);
   ide_signal_group_set_target (self->debugger_signals, NULL);
   ide_clear_and_destroy_object (&self->debugger);
-  ide_clear_and_destroy_object (&self->runner);
 
   G_OBJECT_CLASS (ide_debug_manager_parent_class)->dispose (object);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]