partial fix of #7583
Disabled sending of system message at shutdown on OSX Sierra and older.
This commit is contained in:
parent
9676b8adbf
commit
747cf8a0fe
1 changed files with 4 additions and 1 deletions
|
@ -199,7 +199,10 @@ namespace instance_check_internal
|
|||
//else
|
||||
// BOOST_LOG_TRIVIAL(error) << "success delete lockfile " << path;
|
||||
#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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue