Skip to content

RoopBackBentou v0.1.1 Bug Fix Release

Choose a tag to compare

@SwishmarShell SwishmarShell released this 28 Sep 05:29
· 10 commits to master since this release

Fixed:

  • Fixed an issue where the process could remain in the background after closing the application.
  • Replaced Dispatcher.Invoke() with Dispatcher.BeginInvoke() in audio meter updates.
  • Improved shutdown behavior for WASAPI monitoring.

//// After Closed The Program...Check Point. ////

Closed > Dialog Box: " Closed [ RoopBackBentou v0.1.1 ] "
If...more >Task Manager > Details >If finding " RoopBackBentou " was Closed.

[JP]
 修正:
 アプリを閉じた後も処理がバックグラウンドに残る場合があった問題を修正。
 オーディオメーターのUI更新処理を改善。

//// プログラムを閉じたら、ダイヤログ・ボックス: " Closed [ RoopBackBentou v0.1.1 ] " が現れます。
 もしも、心配なら…>タスクマネージャー>詳細>" RoopBackBentou " が無ければ、閉じられています。

Code Memo:
[ Add ShutdownMode="OnMainWindowClose"> ] (App.xaml)

↓ Mainwindow.xaml.cs ↓

~~~
Dispatcher.BeginInvoke(() =>
        {
~~~
protected override void OnClosed(EventArgs e)
{
    MessageBox.Show("Closed [ RoopBackBentou v0.1.1 ]");
    if (capture != null)
    {
        capture.DataAvailable -= Capture_DataAvailable;
        capture.StopRecording();
        capture.Dispose();
    }

    if (inputCapture != null)
    {
        inputCapture.DataAvailable -= InputCapture_DataAvailable;
        inputCapture.StopRecording();
        inputCapture.Dispose();
    }

    base.OnClosed(e);
}