detachStderrLogSink function
Remove the stderr log sink installed by attachStderrLogSink. Safe to call when no sink is attached.
Implementation
Future<void> detachStderrLogSink() async {
await _stderrLogSub?.cancel();
_stderrLogSub = null;
}
Remove the stderr log sink installed by attachStderrLogSink. Safe to call when no sink is attached.
Future<void> detachStderrLogSink() async {
await _stderrLogSub?.cancel();
_stderrLogSub = null;
}