Fix operator
This commit is contained in:
parent
9101b37162
commit
5481e6d3ec
@ -222,7 +222,7 @@ void DisableLog()
|
|||||||
}
|
}
|
||||||
|
|
||||||
gIsLogging = false;
|
gIsLogging = false;
|
||||||
if (isMH_Initialized and !gIsLogging and !gIsListening and !gIsListeningPyq) {
|
if (isMH_Initialized && !gIsLogging && !gIsListening && !gIsListeningPyq) {
|
||||||
status = MH_Uninitialize();
|
status = MH_Uninitialize();
|
||||||
if (status != MH_OK) {
|
if (status != MH_OK) {
|
||||||
LOG_ERROR("MH_Uninitialize failed: {}", to_string(status));
|
LOG_ERROR("MH_Uninitialize failed: {}", to_string(status));
|
||||||
@ -284,7 +284,7 @@ void UnListenMessage()
|
|||||||
}
|
}
|
||||||
|
|
||||||
gIsListening = false;
|
gIsListening = false;
|
||||||
if (isMH_Initialized and !gIsLogging and !gIsListening and !gIsListeningPyq) {
|
if (isMH_Initialized && !gIsLogging && !gIsListening && !gIsListeningPyq) {
|
||||||
status = MH_Uninitialize();
|
status = MH_Uninitialize();
|
||||||
if (status != MH_OK) {
|
if (status != MH_OK) {
|
||||||
LOG_ERROR("MH_Uninitialize failed: {}", to_string(status));
|
LOG_ERROR("MH_Uninitialize failed: {}", to_string(status));
|
||||||
@ -346,7 +346,7 @@ void UnListenPyq()
|
|||||||
}
|
}
|
||||||
|
|
||||||
gIsListeningPyq = false;
|
gIsListeningPyq = false;
|
||||||
if (isMH_Initialized and !gIsLogging and !gIsListening and !gIsListeningPyq) {
|
if (isMH_Initialized && !gIsLogging && !gIsListening && !gIsListeningPyq) {
|
||||||
status = MH_Uninitialize();
|
status = MH_Uninitialize();
|
||||||
if (status != MH_OK) {
|
if (status != MH_OK) {
|
||||||
LOG_ERROR("MH_Uninitialize failed: {}", to_string(status));
|
LOG_ERROR("MH_Uninitialize failed: {}", to_string(status));
|
||||||
|
Loading…
Reference in New Issue
Block a user