mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Flush the clipboard on exit
Apparently flushing immediately after setting the clipboard sometimes doesn't work.
This commit is contained in:
parent
e37e4b8231
commit
6bf986a63f
@ -285,6 +285,11 @@ int AegisubApp::OnExit() {
|
||||
if (frame)
|
||||
delete frame;
|
||||
|
||||
if (wxTheClipboard->Open()) {
|
||||
wxTheClipboard->Flush();
|
||||
wxTheClipboard->Close();
|
||||
}
|
||||
|
||||
SubtitleFormat::DestroyFormats();
|
||||
delete config::opt;
|
||||
delete config::mru;
|
||||
|
Loading…
x
Reference in New Issue
Block a user