mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
Fix the cross-thread message queue to actually act as a queue, not a stack
This commit is contained in:
+1
-1
@@ -176,7 +176,7 @@ void queue_message(MessageType type, String const& msg) {
|
||||
// Thread safety
|
||||
wxMutexLocker lock(crit_error_handling);
|
||||
// Only show errors in the main thread
|
||||
message_queue.push_back(make_pair(type,msg));
|
||||
message_queue.push_front(make_pair(type,msg));
|
||||
}
|
||||
|
||||
void handle_error(const Error& e) {
|
||||
|
||||
Reference in New Issue
Block a user