To avoid a crash on DLL unload if it wasn't initialized. (cherry picked from commit 17ac4059)
Attach a file by drag & drop or click to upload