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);
|
memset(empty, 0, payLen);
|
||||||
}
|
}
|
||||||
while (offsetOnPage == -1) {
|
uint32_t attempts = 0;
|
||||||
{
|
while (offsetOnPage == -1 && (++attempts) < 20) {
|
||||||
for (char i = 'A'; i <= 'Z'; i++) {
|
for (char i = 'A'; i <= 'Z'; i++) {
|
||||||
myPage.init(baseName.substr(1) + i, (4096 << (i - 'A')), false, false);
|
myPage.init(baseName.substr(1) + i, (4096 << (i - 'A')), false, false);
|
||||||
if (!myPage.mapped) {
|
if (!myPage.mapped) {
|
||||||
|
@ -1174,11 +1174,14 @@ namespace IPC {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (offsetOnPage == -1) {
|
if (offsetOnPage == -1) {
|
||||||
Util::wait(500);
|
Util::wait(500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (offsetOnPage == -1){
|
||||||
|
FAIL_MSG("Could not register on page for %s", baseName.c_str());
|
||||||
|
myPage.close();
|
||||||
|
}
|
||||||
if (empty) {
|
if (empty) {
|
||||||
free(empty);
|
free(empty);
|
||||||
}
|
}
|
||||||
|
|
|
@ -542,7 +542,7 @@ namespace Mist {
|
||||||
pullLock.post();
|
pullLock.post();
|
||||||
pullLock.close();
|
pullLock.close();
|
||||||
pullLock.unlink();
|
pullLock.unlink();
|
||||||
WARN_MSG("No tracks found, cancelling");
|
INFO_MSG("No tracks found, cancelling");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
nProxy.userClient.countAsViewer = false;
|
nProxy.userClient.countAsViewer = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue