mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 08:45:45 +00:00
shortcut_stream.close(); fixed
This commit is contained in:
parent
2b1ebe24d8
commit
acda957df9
1 changed files with 1 additions and 1 deletions
|
@ -2922,10 +2922,10 @@ bool GMainWindow::CreateShortcutLink(const std::filesystem::path& shortcut_path,
|
||||||
} else {
|
} else {
|
||||||
LOG_ERROR(Frontend, "Failed to create shortcut");
|
LOG_ERROR(Frontend, "Failed to create shortcut");
|
||||||
}
|
}
|
||||||
|
shortcut_stream.close();
|
||||||
} catch (const std::exception& e) {
|
} catch (const std::exception& e) {
|
||||||
LOG_ERROR(Frontend, "Failed to create shortcut: {}", e.what());
|
LOG_ERROR(Frontend, "Failed to create shortcut: {}", e.what());
|
||||||
}
|
}
|
||||||
shortcut_stream.close();
|
|
||||||
return false;
|
return false;
|
||||||
#elif defined(_WIN32) // Windows
|
#elif defined(_WIN32) // Windows
|
||||||
HRESULT hr = CoInitialize(NULL);
|
HRESULT hr = CoInitialize(NULL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue