fix: gracefully exit
fix stack overflow bug in State.deinit allow for code in another thread to signal shutdown to gdbstub
This commit is contained in:
@@ -25,7 +25,7 @@ const SwBkpt = struct {
|
||||
}
|
||||
|
||||
pub fn deinit(self: *@This()) void {
|
||||
self.deinit();
|
||||
self.list.deinit();
|
||||
self.* = undefined;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user