--- src/wazuh_modules/vulnerability_scanner/src/vulnerabilityScannerFacade.cpp.orig	2026-01-02 14:42:42.202277000 -0400
+++ src/wazuh_modules/vulnerability_scanner/src/vulnerabilityScannerFacade.cpp	2026-01-02 14:48:18.703476000 -0400
@@ -641,7 +641,10 @@
 
     // Reset shared pointers
     m_indexerConnector.reset();
-    m_databaseFeedManager->teardown();
+    if (m_databaseFeedManager)
+    {
+        m_databaseFeedManager->teardown();
+    }
     m_databaseFeedManager.reset();
     m_syscollectorRsyncSubscription.reset();
     m_syscollectorDeltasSubscription.reset();
