Skip to content

Commit

Permalink
Fix the backend exiting - exit is going back to perl, we want to kill it
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Jun 16, 2016
1 parent e414f8d commit 8786b92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/baseclass.pm
Expand Up @@ -23,6 +23,7 @@ use JSON qw( to_json );
use File::Copy qw(cp);
use File::Basename;
use Time::HiRes qw(gettimeofday tv_interval);
use POSIX qw(_exit);
use bmwqemu;
use IO::Select;
require IPC::System::Simple;
Expand Down Expand Up @@ -417,7 +418,7 @@ sub close_pipes {
print "sending magic and exit\n";
$self->{rsppipe}->print('{"QUIT":1}');
close($self->{rsppipe}) || die "close $!\n";
exit(0);
_exit(0);
}

# this is called for all sockets ready to read from
Expand Down

0 comments on commit 8786b92

Please sign in to comment.