mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 16:46:16 +00:00
Better message transmission
This commit is contained in:
@@ -43,10 +43,10 @@ function handleMessage(message) {
|
||||
}
|
||||
|
||||
function getMessageFromQueue() {
|
||||
if(msgQueue.length == 0){
|
||||
if (msgQueue.length == 0) {
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
return msgQueue.pop();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user