mariofusco commented on code in PR #6097:
URL: 
https://github.com/apache/incubator-kie-drools/pull/6097#discussion_r1771588110


##########
drools-compiler/src/main/java/org/drools/compiler/kie/builder/impl/KieBuilderImpl.java:
##########
@@ -298,6 +298,12 @@ private static void buildKieProject( BuildContext 
buildContext,
                 kieRepository.addKieModule( kDep );
             }
         }
+
+        clearBuilderCache();
+    }
+
+    private static void clearBuilderCache() {
+        DecisionTableFactory.clearCompilerCache();

Review Comment:
   In general I believe that there could be other things that we may want to 
cache when building a KieProject, so we could eventually perform the clean up 
of all those caches here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to