Merge branch 'development' into LTS_development

# Conflicts:
#	src/input/input_buffer.cpp
This commit is contained in:
Thulinma 2015-10-20 15:36:33 +02:00
commit d504bbe720

View file

@ -358,6 +358,7 @@ namespace Mist {
curPage.erase(tid); curPage.erase(tid);
bufferLocations[tid].erase(bufferLocations[tid].begin()); bufferLocations[tid].erase(bufferLocations[tid].begin());
} }
if (pushLocation.count(it->first)){
//Reset the userpage, to allow repushing from TS //Reset the userpage, to allow repushing from TS
IPC::userConnection userConn(pushLocation[it->first]); IPC::userConnection userConn(pushLocation[it->first]);
for (int i = 0; i < SIMUL_TRACKS; i++){ for (int i = 0; i < SIMUL_TRACKS; i++){
@ -367,11 +368,12 @@ namespace Mist {
break; break;
} }
} }
pushLocation.erase(it->first);
}
curPageNum.erase(it->first); curPageNum.erase(it->first);
metaPages[it->first].master = true; metaPages[it->first].master = true;
metaPages.erase(it->first); metaPages.erase(it->first);
activeTracks.erase(it->first); activeTracks.erase(it->first);
pushLocation.erase(it->first);
myMeta.tracks.erase(it->first); myMeta.tracks.erase(it->first);
changed = true; changed = true;
break; break;