isRunning property
bool
get
isRunning
Whether a session is running.
Guarded on _disposed: Synheart.isSessionRunning reads this from UI
code, so a read racing teardown would otherwise dereference a freed
handle across the FFI boundary.
Implementation
bool get isRunning => _disposed ? false : _ffi.isRunning(_handle) != 0;