fix(windows): remove msctf free from DllMain
Fixes #3650. This removes the bad call to `FreeLibrary` that was still present in a callee of `DllMain` in keyman32. The refactor moves responsibility for loading TSF to the `SelectKeyboard` functions and gets rid of the associated thread globals. The `TSFINTERFACES` struct is of course a future candidate for a class. In the process I removed a lot of cruft from keyman32.cpp which was either obsolete, irrelevant or just plain wrong. None of which had material impact on the running code.
parent
3e9f397b
Please register or sign in to comment