rustdesk/src/globals.js

9 lines
174 B
JavaScript
Raw Normal View History

2022-01-20 02:27:49 +08:00
window.currentConnection = undefined;
export function setConn(conn) {
window.currentConnection = conn;
}
export function getConn() {
return windows.currentConnection;
}