mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
resolved broken pipe issue (#885)
This commit is contained in:
parent
dfad4c3707
commit
919a16affb
@ -25,9 +25,9 @@ $(window).load(function () {
|
|||||||
connect(websocketUrl)
|
connect(websocketUrl)
|
||||||
});
|
});
|
||||||
|
|
||||||
$(window).unload(function () {
|
window.onbeforeunload = function() {
|
||||||
disconnect();
|
disconnect();
|
||||||
});
|
};
|
||||||
|
|
||||||
//websocket connection
|
//websocket connection
|
||||||
function connect(target) {
|
function connect(target) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user