mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00

Calling AssFile::Save/Load from multiple threads (even on different objects) was not safe due to that is uses SubtitleFormat internally, which was inheriently thread-unsafe. To fix this, change SubtitleFormat's interface to support immutable implementations, and make all of the current implementations immutable. This isn't a perfect solution - making a subtitle format implemented in lua immutable would be rather difficult - so at some point in the future SubtitleFormat should probably be changed to a factory which returns new objects from GetReader/GetWriter. Originally committed to SVN as r6365.
* To be written.