Final fix for crash on closing slave related to getMac

This commit is contained in:
Danielv123 committed 2017-09-19 19:51:00 +02:00
1 parent c7744b5189
commit d858f1da69
2 files changed
+10 -21

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
function hashCode(string){
if(typeof string !== "string") throw "ERROR: Not a string";
if(typeof string !== "string") throw "ERROR stringUtils: Not a string";
var hash = 0;
if (string.length == 0) return hash;
for (let i = 0; i < string.length; i++) {