mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 07:46:00 +00:00
bundled electron app starts without error
This commit is contained in:
@@ -66,9 +66,9 @@
|
||||
});
|
||||
function onSession(sid) {
|
||||
if (sid) {
|
||||
socket.on(`session-recordset-${sid}`, handleResultSet);
|
||||
socket().on(`session-recordset-${sid}`, handleResultSet);
|
||||
return () => {
|
||||
socket.off(`session-recordset-${sid}`, handleResultSet);
|
||||
socket().off(`session-recordset-${sid}`, handleResultSet);
|
||||
};
|
||||
}
|
||||
return () => {};
|
||||
|
||||
Reference in New Issue
Block a user