From 88a4a3b1bae97548142b73031ff415db6ebd31d0 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 11 Apr 2017 08:47:02 -0700 Subject: Pass tptr on leave. --- node/Network.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'node/Network.hpp') diff --git a/node/Network.hpp b/node/Network.hpp index fccc267a..faef0fed 100644 --- a/node/Network.hpp +++ b/node/Network.hpp @@ -344,9 +344,8 @@ public: /** * Destroy this network * - * This causes the network to disable itself, destroy its tap device, and on - * delete to delete all trace of itself on disk and remove any persistent tap - * device instances. Call this when a network is being removed from the system. + * This sets the network to completely remove itself on delete. This also prevents the + * call of the normal port shutdown event on delete. */ void destroy(); @@ -364,7 +363,7 @@ public: /** * @return Externally usable pointer-to-pointer exported via the core API */ - inline void **userPtr() throw() { return &_uPtr; } + inline void **userPtr() { return &_uPtr; } private: ZT_VirtualNetworkStatus _status() const; -- cgit v1.2.3