运行应用程序的tomcat服务器非常频繁地崩溃。崩溃堆栈跟踪指向yourkit代理。有人可以帮助找到这与你的套件真正相关吗?
var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
if (isChrome) {
var formData = new FormData();
formData.append("logout", "false");
navigator.sendBeacon("offline.php", formData);
} else {
$.ajax({ // this is jQuery
type: "POST",
url: "offline.php",
data: {
logout: 'false'
},
success: function (data) {
document.location.reload();
}
});
}