OSDN Git Service
(root)
/
mutilities
/
MUtilities.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a05dcbf
)
Small synchronization fix.
author
LoRd_MuldeR
<mulder2@gmx.de>
Sun, 9 Aug 2015 19:34:31 +0000
(21:34 +0200)
committer
LoRd_MuldeR
<mulder2@gmx.de>
Sun, 9 Aug 2015 19:34:31 +0000
(21:34 +0200)
src/Terminal_Win32.cpp
patch
|
blob
|
history
diff --git
a/src/Terminal_Win32.cpp
b/src/Terminal_Win32.cpp
index
9f6b604
..
8731dcb
100644
(file)
--- a/
src/Terminal_Win32.cpp
+++ b/
src/Terminal_Win32.cpp
@@
-163,6
+163,8
@@
static inline std::filebuf *terminal_connect(FILE *const fs, std::ostream &os)
static void terminal_shutdown(void)
{
+ MUtils::Internal::CSLocker lock(g_terminal_lock);
+
if (g_terminal_attached)
{
g_fileBuf_stdout.reset();