fix: dispose model before updating
This commit is contained in:
parent
d7d6c53c75
commit
07a20adcd0
|
@ -214,6 +214,7 @@ namespace NoSoliciting {
|
|||
}
|
||||
|
||||
if (ImGui.Button("Update model")) {
|
||||
this.Plugin.MlFilter?.Dispose();
|
||||
this.Plugin.MlFilter = null;
|
||||
this.Plugin.InitialiseMachineLearning();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue