Skip to content

Commit 2dbf072

Browse files
committed
cleanup old references after suspension
1 parent 56dc92f commit 2dbf072

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/ruby-debug/event_processor.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def line_event(context, file, line)
5959
@printer.print_debug("Stopping Thread %s", context.thread.to_s)
6060
@printer.print_debug("Threads equal: %s", Thread.current == context.thread)
6161
IdeCommandProcessor.new(@interface).process_commands
62+
InspectCommand.clear_references
6263
@printer.print_debug("Resumed Thread %s", context.thread.to_s)
6364
@line = nil
6465
@file = nil

0 commit comments

Comments
 (0)