Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: libs/csutil/plugmgr.cpp
- ===================================================================
- --- libs/csutil/plugmgr.cpp (revision 36320)
- +++ libs/csutil/plugmgr.cpp (working copy)
- @@ -245,6 +245,7 @@
- // The plugin should have been loaded now.
- CS::Threading::RecursiveMutexScopedLock lock (mutex);
- csPlugin* pl = FindPluginByClassID (classID);
- + if(!pl){return csPtr<iComponent> (0);}
- csRef<iComponent> comp (pl->Plugin);
- return csPtr<iComponent> (comp);
- }
Add Comment
Please, Sign In to add comment