exit gracefully and call destructor of the current active example
fflush after printf implemented stepForward and Shutdown for the SharedMemory client/server
This commit is contained in:
@@ -29,7 +29,8 @@ void b3PrintfFuncDefault(const char* msg)
|
||||
OutputDebugStringA(msg);
|
||||
#endif
|
||||
printf("%s",msg);
|
||||
|
||||
//is this portable?
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
void b3WarningMessageFuncDefault(const char* msg)
|
||||
@@ -38,7 +39,8 @@ void b3WarningMessageFuncDefault(const char* msg)
|
||||
OutputDebugStringA(msg);
|
||||
#endif
|
||||
printf("%s",msg);
|
||||
|
||||
//is this portable?
|
||||
fflush(stdout);
|
||||
|
||||
}
|
||||
|
||||
@@ -49,6 +51,9 @@ void b3ErrorMessageFuncDefault(const char* msg)
|
||||
OutputDebugStringA(msg);
|
||||
#endif
|
||||
printf("%s",msg);
|
||||
|
||||
//is this portable?
|
||||
fflush(stdout);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user