TF-3334 Dispose web socket when close controller
This commit is contained in:
@@ -149,6 +149,7 @@ class ThreadController extends BaseController with EmailActionController {
|
||||
if (PlatformInfo.isWeb) {
|
||||
_resizeBrowserStreamSubscription?.cancel();
|
||||
}
|
||||
_webSocketQueueHandler?.dispose();
|
||||
super.onClose();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user