fix: don't raise freqAI in pre-mature shutdown scenarios
This commit is contained in:
@@ -222,6 +222,7 @@ class IStrategy(ABC, HyperStrategyMixin):
|
||||
"""
|
||||
Clean up FreqAI and child threads
|
||||
"""
|
||||
if getattr(self, "freqai", None):
|
||||
self.freqai.shutdown()
|
||||
|
||||
@abstractmethod
|
||||
|
||||
Reference in New Issue
Block a user