mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Merge pull request #13068 from birarda/67-to-master
merge RC67 back to master
This commit is contained in:
commit
12f7dd93dc
2 changed files with 3 additions and 2 deletions
|
@ -58,9 +58,8 @@ void AddressBarDialog::loadHome() {
|
|||
qDebug() << "Called LoadHome";
|
||||
auto locationBookmarks = DependencyManager::get<LocationBookmarks>();
|
||||
QString homeLocation = locationBookmarks->addressForBookmark(LocationBookmarks::HOME_BOOKMARK);
|
||||
const QString DEFAULT_HOME_LOCATION = "localhost";
|
||||
if (homeLocation == "") {
|
||||
homeLocation = DEFAULT_HOME_LOCATION;
|
||||
homeLocation = DEFAULT_HIFI_ADDRESS;
|
||||
}
|
||||
DependencyManager::get<AddressManager>()->handleLookupString(homeLocation);
|
||||
}
|
||||
|
|
|
@ -302,6 +302,7 @@ bool LimitedNodeList::packetSourceAndHashMatchAndTrackBandwidth(const udt::Packe
|
|||
}
|
||||
} else {
|
||||
NLPacket::LocalID sourceLocalID = Node::NULL_LOCAL_ID;
|
||||
|
||||
// check if we were passed a sourceNode hint or if we need to look it up
|
||||
if (!sourceNode) {
|
||||
// figure out which node this is from
|
||||
|
@ -609,6 +610,7 @@ bool LimitedNodeList::killNodeWithUUID(const QUuid& nodeUUID, ConnectionID newCo
|
|||
|
||||
{
|
||||
QWriteLocker writeLocker(&_nodeMutex);
|
||||
_localIDMap.unsafe_erase(matchingNode->getLocalID());
|
||||
_nodeHash.unsafe_erase(it);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue