多线程修复监控阻塞bug

This commit is contained in:
ibuler
2015-11-03 23:03:31 +08:00
parent b30697ea20
commit 9d75ad6cea
2 changed files with 39 additions and 9 deletions

View File

@@ -114,6 +114,10 @@
socket.send(file_path)
};
window.onbeforeunload = function(){
socket.close()
};
var username = obj.closest('tr').find('#username').text();
var ip = obj.closest('tr').find('#ip').text();