mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 23:24:52 +09:00
Final fix for crash on closing slave related to getMac
This commit is contained in:
1 parent
c7744b5189
commit
d858f1da69
2 files changed
+10
-21
No files matched your search
+1
-1
@@ -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++) {
|
||||
|
||||
Reference in new issue
Block a user