[fix] Fixed the issue that CMM cannot be released after the class EngineWrapper is destroyed

This commit is contained in:
LittleMouse
2025-04-16 18:08:56 +08:00
parent 98adcc20cc
commit c63bb098e8
@@ -544,6 +544,9 @@ public:
~llm_task()
{
stop();
if (encoder_) encoder_->Release();
if (decoder_main_) decoder_main_->Release();
if (decoder_loop_) decoder_loop_->Release();
_ax_deinit();
buffer_destroy(pcmdata);
}