Backported various Pro edition changes and general code to Free edition
This commit is contained in:
parent
2aa86ccf01
commit
776cfe1850
7 changed files with 123 additions and 91 deletions
|
@ -351,6 +351,19 @@ namespace Mist {
|
|||
bufferLocations[tid].erase(bufferLocations[tid].begin());
|
||||
}
|
||||
if (pushLocation.count(it->first)){
|
||||
// \todo Debugger says this is null sometimes. It shouldn't be. Figure out why!
|
||||
// For now, this if will prevent crashes in these cases.
|
||||
if (pushLocation[it->first]){
|
||||
//Reset the userpage, to allow repushing from TS
|
||||
IPC::userConnection userConn(pushLocation[it->first]);
|
||||
for (int i = 0; i < SIMUL_TRACKS; i++) {
|
||||
if (userConn.getTrackId(i) == it->first) {
|
||||
userConn.setTrackId(i, 0);
|
||||
userConn.setKeynum(i, 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
pushLocation.erase(it->first);
|
||||
}
|
||||
nProxy.curPageNum.erase(it->first);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue