The filter instances weren't cleared before the dynamically loaded libraries were unloaded which caused a crash.