mirror of https://github.com/odrling/Aegisub
Perform extradata garbage collection on save
This commit is contained in:
parent
159dfcde39
commit
cf81e91383
|
@ -270,6 +270,8 @@ void SubsController::Save(agi::fs::path const& filename, std::string const& enco
|
|||
|
||||
FileSave();
|
||||
|
||||
context->ass->CleanExtradata();
|
||||
|
||||
writer->WriteFile(context->ass.get(), filename, 0, encoding);
|
||||
}
|
||||
catch (...) {
|
||||
|
|
Loading…
Reference in New Issue