diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-04 09:23:06 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-04 09:23:06 +0100 |
commit | 4a2d23c14089cb98901e3df535037f7d8095e9a7 (patch) | |
tree | b8f2f00e62a3575eb24853ea2dc83989b4d3195d /proto-fsuipc | |
parent | 89a18bbb9a42d7bb54efe292bdc4f792176008fb (diff) |
main: workaround crash on exit without terminating process
Diffstat (limited to 'proto-fsuipc')
-rw-r--r-- | proto-fsuipc/ftnoir_protocol_fsuipc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proto-fsuipc/ftnoir_protocol_fsuipc.cpp b/proto-fsuipc/ftnoir_protocol_fsuipc.cpp index bdb67c3f..64a14f5f 100644 --- a/proto-fsuipc/ftnoir_protocol_fsuipc.cpp +++ b/proto-fsuipc/ftnoir_protocol_fsuipc.cpp @@ -147,6 +147,7 @@ void fsuipc::pose(const double *headpose ) { module_status fsuipc::initialize() { FSUIPCLib.setFileName( s.LocationOfDLL ); + FSUIPCLib.setLoadHints(QLibrary::PreventUnloadHint); if (FSUIPCLib.load() != true) return error(_("Can't load fsuipc at '%1'").arg(s.LocationOfDLL)); |