This commit is contained in:
Grant Limberg 2019-04-22 11:36:14 -07:00
parent 71ae678930
commit 87c75d033e

View File

@ -872,8 +872,6 @@ JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_node_1init(
return resultObject;
}
uint64_t nodeId = ZT_Node_address(node);
ZeroTier::Mutex::Lock lock(nodeMapMutex);
ref->node = node;
nodeMap.insert(std::make_pair(ref->id, ref));