Fixed Command character on OSX in ImGUI

This commit is contained in:
Slic3rPE 2020-03-19 16:09:52 +01:00
parent cd5154b8e1
commit b4a7822098
2 changed files with 10 additions and 4 deletions

View file

@ -129,8 +129,10 @@ void RemovableDriveManager::register_window_osx()
void RemovableDriveManager::unregister_window_osx()
{
if (m_impl_osx)
if (m_impl_osx) {
[m_impl_osx release];
m_impl_osx = nullptr;
}
}
namespace search_for_drives_internal