Skip to content
Snippets Groups Projects
Commit 72704fc2 authored by François-Simon Fauteux-Chapleau's avatar François-Simon Fauteux-Chapleau
Browse files

turn_transport: avoid leaking file descriptors

This patch fixes two issues in the shutdown function that were causing
file descriptors to remain open after they were no longer needed:
1) The TURN socket (`relay`) wasn't being destroyed properly
2) Several of the resources allocated in the TurnTransport constructor
   (such as the ioqueue and the timer_heap) weren't being cleaned up at
   all
The first issue was introduced in a recent commit (2569341f).
The second one seems to have been present for a long time (at least over
a year).

Change-Id: I82e3f96b2a08737ce0a6e3ed5aaa53959de9b1e8
parent 4d2942e2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment