File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -696,18 +696,7 @@ class DevHandler {
696696
697697 // WebSocket mode: Allow connection reuse for page refreshes and same instance reconnections
698698 final canReuseConnection =
699- services != null &&
700- (
701- // Case 1: Existing connection can be reused if in keep-alive or same instance
702- (existingConnection != null &&
703- (existingConnection.isInKeepAlivePeriod == true ||
704- existingConnection.request.instanceId ==
705- message.instanceId)) ||
706- // Case 2: No active service connection, allow if no existing conn or same instance
707- (services.connectedInstanceId == null &&
708- (existingConnection == null ||
709- existingConnection.request.instanceId ==
710- message.instanceId)));
699+ services != null && services.connectedInstanceId == null ;
711700
712701 if (canReuseConnection) {
713702 // Reconnect to existing service.
You can’t perform that action at this time.
0 commit comments