mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
free memory used by breakpoints
This commit is contained in:
committed by
Yukihiro "Matz" Matsumoto
parent
1cc6eaca2a
commit
553b9df306
@@ -215,6 +215,7 @@ void
|
||||
mrb_debug_context_free(mrb_state *mrb)
|
||||
{
|
||||
if (_debug_context) {
|
||||
mrb_debug_delete_break_all(mrb, _debug_context);
|
||||
mrb_free(mrb, _debug_context);
|
||||
_debug_context = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user