mirror of https://github.com/deavmi/gogga.git
Unlock mutex, don't lock it again
This commit is contained in:
parent
7a963dab38
commit
aa5e03f84e
|
@ -53,7 +53,7 @@ void gprint(messageT)(messageT message, DebugType debugType = DebugType.INFO)
|
||||||
write(message);
|
write(message);
|
||||||
|
|
||||||
/* Unlock output */
|
/* Unlock output */
|
||||||
writeMutex.lock();
|
writeMutex.unlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
void gprintln(messageT)(messageT message, DebugType debugType = DebugType.INFO)
|
void gprintln(messageT)(messageT message, DebugType debugType = DebugType.INFO)
|
||||||
|
|
Loading…
Reference in New Issue