Merge branch 'dk_mac_msg_send'

This commit is contained in:
David Kocik 2022-01-06 15:01:03 +01:00
commit 27ee53b9e3

View File

@ -199,7 +199,10 @@ namespace instance_check_internal
//else //else
// BOOST_LOG_TRIVIAL(error) << "success delete lockfile " << path; // BOOST_LOG_TRIVIAL(error) << "success delete lockfile " << path;
#ifdef __APPLE__ #ifdef __APPLE__
send_message_mac_closing(GUI::wxGetApp().get_instance_hash_string(),GUI::wxGetApp().get_instance_hash_string()); // Partial fix of #7583
// On price of incorrect working of single instances on older OSX
if (wxPlatformInfo::Get().GetOSMajorVersion() > 12)
send_message_mac_closing(GUI::wxGetApp().get_instance_hash_string(),GUI::wxGetApp().get_instance_hash_string());
#endif #endif
} }
} }