Catch and ignore failure of serve, we already handled somewhere else.

This commit is contained in:
NI
2019-09-09 22:04:51 +08:00
parent f2438e490f
commit 588118cf3c

View File

@@ -319,7 +319,7 @@ export class Socket {
}
});
streamHandler.serve();
streamHandler.serve().catch(() => {});
callbacks.connected();