unregister static method
Unregisters the Apple MLX runtime.
Implementation
static Future<bool> unregister() async {
if (!isRegistered) return true;
final bindings = _bindings;
if (bindings == null) return true;
final result = bindings.unregister();
if (result != RacResultCode.success) {
_logger.warning('MLX backend unregistration returned: $result');
return false;
}
_isRegistered = false;
_logger.info('MLX backend unregistered');
return true;
}