Clean up disable.

Add USE_HCC_LOCK (disabled)
Disable USE_PEER_TO_PEER.
This commit is contained in:
Ben Sander
2016-04-11 09:09:36 -05:00
parent a894ca3abb
commit efffb0ed86
5 changed files with 10 additions and 11 deletions
-4
View File
@@ -454,13 +454,9 @@ void ihipDevice_t::locked_reset()
crit->streams().clear();
#if USE_PEER_TO_PEER>=2
// This resest peer list to just me:
crit->resetPeers(this);
#endif
// Reset and release all memory stored in the tracker:
// Reset will remove peer mapping so don't need to do this explicitly.
am_memtracker_reset(_acc);