mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Merge pull request #58 from llemoi/message_queue_ordering_fix
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