mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:44:01 +02:00
Update AssetClient's node killed handling to check if node is asset server first
This commit is contained in:
parent
e87fcb78cd
commit
42d21e4dc1
1 changed files with 4 additions and 0 deletions
|
@ -286,6 +286,10 @@ void AssetClient::handleAssetUploadReply(QSharedPointer<NLPacket> packet, Shared
|
|||
}
|
||||
|
||||
void AssetClient::handleNodeKilled(SharedNodePointer node) {
|
||||
if (node->getType() != NodeType::AssetServer) {
|
||||
return;
|
||||
}
|
||||
|
||||
{
|
||||
auto messageMapIt = _pendingRequests.find(node);
|
||||
if (messageMapIt != _pendingRequests.end()) {
|
||||
|
|
Loading…
Reference in a new issue