Skip to content

Commit 18b3277

Browse files
authored
[MV3] Fix late initialization error on debugger detach (#1879)
1 parent 03d4035 commit 18b3277

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dwds/debug_extension_mv3/web/debug_session.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -424,15 +424,15 @@ class _DebugSession {
424424
// What triggered the debug session (debugger panel, extension icon, etc.)
425425
final Trigger? trigger;
426426

427-
// The tab ID that contains the corresponding Dart DevTools.
428-
late final int? devToolsTabId;
429-
430427
// Socket client for communication with dwds extension backend.
431428
late final SocketClient _socketClient;
432429

433430
// How often to send batched events.
434431
static const int _batchDelayMilliseconds = 1000;
435432

433+
// The tab ID that contains the corresponding Dart DevTools, if it exists.
434+
int? devToolsTabId;
435+
436436
// Collect events into batches to be send periodically to the server.
437437
final _batchController =
438438
BatchedStreamController<ExtensionEvent>(delay: _batchDelayMilliseconds);

0 commit comments

Comments
 (0)