X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=shared%2Fmidi_device.cpp;h=ab84fda6db51099e3ecf03013bc08a7b0a60947a;hb=c9f1a2b33586116b14b2da572eaecad1f7e6825b;hp=9d77e218f5078f37b5aa3eeba8c9bb87d84a8226;hpb=7a702edcef2297bd19aef14ef5537a4fd6837607;p=nageru diff --git a/shared/midi_device.cpp b/shared/midi_device.cpp index 9d77e21..ab84fda 100644 --- a/shared/midi_device.cpp +++ b/shared/midi_device.cpp @@ -21,7 +21,7 @@ MIDIDevice::~MIDIDevice() const uint64_t one = 1; if (write(should_quit_fd, &one, sizeof(one)) != sizeof(one)) { perror("write(should_quit_fd)"); - exit(1); + abort(); } midi_thread.join(); close(should_quit_fd);