destroy if on destruct

pull/174/head
Jeff Becker 6 years ago
parent 0768dfa4ad
commit a2686149ce
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -298,6 +298,8 @@ namespace llarp
~tun()
{
if(tunif)
tuntap_destroy(tunif);
}
};

Loading…
Cancel
Save