common: flush stream in g_deinit()
unless flushing stream before exitting, `xrdp --version | cat` will show empty output. Fixes #1471.
This commit is contained in:
parent
677056e3c2
commit
e928d8baf2
@ -166,6 +166,8 @@ g_deinit(void)
|
||||
#if defined(_WIN32)
|
||||
WSACleanup();
|
||||
#endif
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
g_rm_temp_dir();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user