|
@@ -1969,6 +1969,11 @@
|
|
});
|
|
});
|
|
}
|
|
}
|
|
function quit() {
|
|
function quit() {
|
|
|
|
+ engine.disconnect();
|
|
|
|
+ wsss.close();
|
|
|
|
+ decodeWoker.postMessage('close');
|
|
|
|
+ decodeWoker.terminate();
|
|
|
|
+ webSocketWorker.postMessage('close');
|
|
if (navigator.userAgent.toLowerCase().includes('toutiaomicroapp')) {
|
|
if (navigator.userAgent.toLowerCase().includes('toutiaomicroapp')) {
|
|
tt.miniProgram.switchTab({
|
|
tt.miniProgram.switchTab({
|
|
url: '/pages/home/home',
|
|
url: '/pages/home/home',
|