mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 01:36:20 +02:00
Merge branch 'fix-wm-close' of github.com:huffman/hifi into fix-wm-close
This commit is contained in:
commit
4c485a26ed
2 changed files with 22 additions and 0 deletions
|
@ -37,6 +37,17 @@ AssignmentClient::AssignmentClient(int &argc, char **argv) :
|
||||||
QCoreApplication(argc, argv),
|
QCoreApplication(argc, argv),
|
||||||
_assignmentServerHostname(DEFAULT_ASSIGNMENT_SERVER_HOSTNAME)
|
_assignmentServerHostname(DEFAULT_ASSIGNMENT_SERVER_HOSTNAME)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
#ifdef Q_OS_WIN
|
||||||
|
// Windows applications buffer stdout/err hard when not run from a terminal,
|
||||||
|
// making assignment clients run from the Stack Manager application not flush
|
||||||
|
// log messages.
|
||||||
|
// This will disable the buffering. If this becomes a performance issue,
|
||||||
|
// an alternative is to call fflush(...) periodically.
|
||||||
|
setbuf(stdout, NULL);
|
||||||
|
setbuf(stderr, NULL);
|
||||||
|
#endif
|
||||||
|
|
||||||
setOrganizationName("High Fidelity");
|
setOrganizationName("High Fidelity");
|
||||||
setOrganizationDomain("highfidelity.io");
|
setOrganizationDomain("highfidelity.io");
|
||||||
setApplicationName("assignment-client");
|
setApplicationName("assignment-client");
|
||||||
|
|
|
@ -43,6 +43,17 @@ DomainServer::DomainServer(int argc, char* argv[]) :
|
||||||
_networkReplyUUIDMap(),
|
_networkReplyUUIDMap(),
|
||||||
_sessionAuthenticationHash()
|
_sessionAuthenticationHash()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
#ifdef Q_OS_WIN
|
||||||
|
// Windows applications buffer stdout/err hard when not run from a terminal,
|
||||||
|
// making a domain server run from the Stack Manager application not flush
|
||||||
|
// log messages.
|
||||||
|
// This will disable the buffering. If this becomes a performance issue,
|
||||||
|
// an alternative is to call fflush(...) periodically.
|
||||||
|
setbuf(stdout, NULL);
|
||||||
|
setbuf(stderr, NULL);
|
||||||
|
#endif
|
||||||
|
|
||||||
setOrganizationName("High Fidelity");
|
setOrganizationName("High Fidelity");
|
||||||
setOrganizationDomain("highfidelity.io");
|
setOrganizationDomain("highfidelity.io");
|
||||||
setApplicationName("domain-server");
|
setApplicationName("domain-server");
|
||||||
|
|
Loading…
Reference in a new issue