Завершать DAP при потере остановленного MAME
This commit is contained in:
@@ -140,6 +140,8 @@ class DapEngine:
|
||||
elif event['event'] == 'output':
|
||||
translated.append(('output', {'category': event['body'].get('category','console'),
|
||||
'output': event['body']['output']}))
|
||||
if result['closed'] and not any(name == 'terminated' for name, _ in translated):
|
||||
translated.append(('terminated', {'restart': False}))
|
||||
return translated, result['closed']
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user