diff options
-rw-r--r-- | logic/runtime-libraries.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/logic/runtime-libraries.cpp b/logic/runtime-libraries.cpp index 478b9e0e..b91c9635 100644 --- a/logic/runtime-libraries.cpp +++ b/logic/runtime-libraries.cpp @@ -15,7 +15,10 @@ runtime_libraries::runtime_libraries(QFrame* frame, dylibptr t, dylibptr p, dyli pProtocol = make_dylib_instance<IProtocol>(p); if (!pProtocol) + { + qDebug() << "protocol dylib load failure"; goto end; + } if(status = pProtocol->initialize(), !status.is_ok()) { @@ -33,6 +36,12 @@ runtime_libraries::runtime_libraries(QFrame* frame, dylibptr t, dylibptr p, dyli goto end; } + if (f && !pFilter) + { + qDebug() << "filter load failure"; + goto end; + } + if (pFilter) if(status = pFilter->initialize(), !status.is_ok()) { |