Merge branch 'development' into LTS_development
This commit is contained in:
commit
7dd7cc6fe1
2 changed files with 26 additions and 23 deletions
|
@ -1147,8 +1147,8 @@ namespace IPC {
|
|||
}
|
||||
memset(empty, 0, payLen);
|
||||
}
|
||||
while (offsetOnPage == -1) {
|
||||
{
|
||||
uint32_t attempts = 0;
|
||||
while (offsetOnPage == -1 && (++attempts) < 20) {
|
||||
for (char i = 'A'; i <= 'Z'; i++) {
|
||||
myPage.init(baseName.substr(1) + i, (4096 << (i - 'A')), false, false);
|
||||
if (!myPage.mapped) {
|
||||
|
@ -1174,11 +1174,14 @@ namespace IPC {
|
|||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (offsetOnPage == -1) {
|
||||
Util::wait(500);
|
||||
}
|
||||
}
|
||||
if (offsetOnPage == -1){
|
||||
FAIL_MSG("Could not register on page for %s", baseName.c_str());
|
||||
myPage.close();
|
||||
}
|
||||
if (empty) {
|
||||
free(empty);
|
||||
}
|
||||
|
|
|
@ -542,7 +542,7 @@ namespace Mist {
|
|||
pullLock.post();
|
||||
pullLock.close();
|
||||
pullLock.unlink();
|
||||
WARN_MSG("No tracks found, cancelling");
|
||||
INFO_MSG("No tracks found, cancelling");
|
||||
return;
|
||||
}
|
||||
nProxy.userClient.countAsViewer = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue