修复可能的资源泄露
This commit is contained in:
@@ -320,7 +320,7 @@ namespace SpineViewerCLI
|
||||
spine.Update(warmup < 0 ? spine.GetAnimationMaxDuration() : warmup);
|
||||
spine.Update(result.GetValue(OptTime));
|
||||
|
||||
var exporter = GetExporterFilledWithArgs(result, spine);
|
||||
using var exporter = GetExporterFilledWithArgs(result, spine);
|
||||
|
||||
// 创建输出目录
|
||||
string output = result.GetValue(OptOutput);
|
||||
|
||||
Reference in New Issue
Block a user