We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88886b6 commit afe913eCopy full SHA for afe913e
dwds/lib/src/debugging/debugger.dart
@@ -114,14 +114,10 @@ class Debugger extends Domain {
114
115
Future<Success> pause({bool internalPause = false}) async {
116
_isStepping = false;
117
- if (internalPause) {
118
- _pauseInterruptedCompleter = Completer<void>();
119
- }
+ if (internalPause) _pauseInterruptedCompleter = Completer<void>();
120
final result = await _remoteDebugger.pause();
121
handleErrorIfPresent(result);
122
123
- await _pauseInterruptedCompleter!.future;
124
+ await _pauseInterruptedCompleter?.future;
125
return Success();
126
}
127
0 commit comments