Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
5.7.0
-
Windows
-
03ab94b0e7a549bcf839639438f782a47522ffa7
Description
Currently Qt manages the lifetime of QTextCodecs, according to the documentation. If user wants to implement his own codec and that implementation is located in a plugin, when the application is shutting down and plugin is unloaded before the codecs are deleted, it causes a crash.
Unloading the plugin could count as a deleting the QTextCodec by user which is against the documentation, but there are cases where the main application's code should not be bloated with plugin specific code that the QTextCodec could be. Maybe there could be a way to unregister the specific codecs?
Attachments
Issue Links
- relates to
-
QTBUG-40304 Custom QTextCodecs cause crashes on exit in multi-DLL environments.
- Closed