Browse Source

Mixer: Don't hang when terminated while modal window is open.

tags/non-daw-v1.2.0
Jonathan Moore Liles 12 years ago
parent
commit
b4d811adf1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mixer/src/main.C

+ 2
- 2
mixer/src/main.C View File

@@ -109,7 +109,6 @@ void
sigterm_handler ( int )
{
got_sigterm = 1;
Fl::awake();
}

void
@@ -120,6 +119,7 @@ check_sigterm ( void * )
MESSAGE( "Got SIGTERM, quitting..." );
mixer->quit();
}
Fl::repeat_timeout( 0.1f, check_sigterm );
}


@@ -293,7 +293,7 @@ main ( int argc, char **argv )
}
}

Fl::add_check( check_sigterm );
Fl::add_timeout( 0.1f, check_sigterm );
if ( ! no_ui )
{


Loading…
Cancel
Save