public static void Quit(this R2Pipe pipe) { if (pipe.doAsync) { pipe.RunCommandAsync("q!").GetAwaiter().OnCompleted(() => { pipe.Dispose(); return; }); } pipe.Dispose(); }
public static void QuitSync(this R2Pipe pipe) { pipe.Dispose(); }