Added use of deinit function of persistence file cache
authorIngo Huerner <ingo.huerner@xse.de>
Fri, 16 May 2014 12:25:31 +0000 (14:25 +0200)
committerIngo Huerner <ingo.huerner@xse.de>
Fri, 16 May 2014 12:25:31 +0000 (14:25 +0200)
src/persistence_client_library.c

index e9387cd..0d0612a 100644 (file)
@@ -247,6 +247,10 @@ int pclDeinitLibrary(void)
 
       gPclInitialized = PCLnotInitialized;
 
+#if USE_FILECACHE
+   pfcDeinitCache();
+#endif
+
       DLT_UNREGISTER_CONTEXT(gPclDLTContext);
    }
    else if(gPclInitialized > PCLinitialized)