unloadInstance static method
Implementation
static Future unloadInstance(
int engineId,
VoltronMap params,
) async {
var stopwatch = Stopwatch();
stopwatch.start();
var paramsPair = _parseParams(params);
stopwatch.stop();
LogUtils.profile("unloadInstance parse params", stopwatch.elapsedMilliseconds);
_BridgeFFIManager.instance.unloadInstance(
engineId,
paramsPair.left,
paramsPair.right.length,
);
stopwatch.stop();
LogUtils.profile("unloadInstance", stopwatch.elapsedMilliseconds);
}