Added onCrash handler for inputs, buffer now does proper cleanup when crashing.

This commit is contained in:
Thulinma 2016-04-20 14:33:51 +02:00
parent babbcf706a
commit 61b66e349e
5 changed files with 81 additions and 0 deletions

View file

@ -1167,6 +1167,10 @@ namespace Mist {
return;
}
}
if (nProxy.userClient.getData()[-1] > 127){
myConn.close();
return;
}
if (!nProxy.trackMap.size()){
IPC::userConnection userConn(nProxy.userClient.getData());
for (std::set<unsigned long>::iterator it = selectedTracks.begin(); it != selectedTracks.end() && tNum < SIMUL_TRACKS; it++){