@domain.js/main 0.4.11 → 0.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/http/socket.js +1 -6
- package/package.json +1 -1
package/dist/http/socket.js
CHANGED
|
@@ -158,12 +158,7 @@ function BridgeSocket(io, domain) {
|
|
|
158
158
|
if (!client.inited)
|
|
159
159
|
return;
|
|
160
160
|
// 这里要取消对领域消息的监听
|
|
161
|
-
|
|
162
|
-
return await unsubscribe(client.profile, client);
|
|
163
|
-
}
|
|
164
|
-
catch (e) {
|
|
165
|
-
console.error(e);
|
|
166
|
-
}
|
|
161
|
+
await unsubscribe(client.profile, client).catch(console.error);
|
|
167
162
|
if (client.quit)
|
|
168
163
|
client.quit();
|
|
169
164
|
});
|