Debugger can get detached during a callback, clean up appropriately
Debugger can get detached during a callback, clean up appropriately

sergiobenrocha2/mgba,mgba-emu/mgba,libretro/mgba,Iniquitatis/mgba,sergiobenrocha2/mgba,Iniquitatis/mgba,jeremyherbert/mgba,Iniquitatis/mgba,MerryMage/mgba,mgba-emu/mgba,matthewbauer/mgba,Touched/mgba,AdmiralCurtiss/mgba,nattthebear/mgba,libretro/mgba,mgba-emu/mgba,askotx/mgba,Iniquitatis/mgba,askotx/mgba,askotx/mgba,libretro/mgba,askotx/mgba,Touched/mgba,mgba-emu/mgba,jeremyherbert/mgba,cassos/mgba,Anty-Lemon/mgba,AdmiralCurtiss/mgba,jeremyherbert/mgba,zerofalcon/mgba,cassos/mgba,MerryMage/mgba,bentley/mgba,bentley/mgba,libretro/mgba,Touched/mgba,MerryMage/mgba,cassos/mgba,zerofalcon/mgba,iracigt/mgba,fr500/mgba,jeremyherbert/mgba,iracigt/mgba,AdmiralCurtiss/mgba,zerofalcon/mgba,nattthebear/mgba,Anty-Lemon/mgba,fr500/mgba,fr500/mgba,iracigt/mgba,fr500/mgba,sergiobenrocha2/mgba,Anty-Lemon/mgba,matthewbauer/mgba,sergiobenrocha2/mgba,Anty-Lemon/mgba,sergiobenrocha2/mgba,iracigt/mgba,libretro/mgba