Update AssetClient's node killed handling to check if node is asset server first

This commit is contained in:
Ryan Huffman 2015-09-14 11:56:47 -07:00
parent e87fcb78cd
commit 42d21e4dc1

View file

@ -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()) {