Forgot to delete the dynamic library handle when the component is destroyed