summaryrefslogtreecommitdiff
path: root/src/ua.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-07-14 20:15:43 +0200
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-07-14 20:15:43 +0200
commitdc794b38d0726e5104f266d304d987a7a3ad1b18 (patch)
treee3a1012cb36b8ac27af2614124ecb8cb7c704dc7 /src/ua.c
parentfcad53c745fe4cfa0a13e40f34bbe77a23aa5202 (diff)
ui: make API re-entrant
Diffstat (limited to 'src/ua.c')
-rw-r--r--src/ua.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ua.c b/src/ua.c
index 601c4fc..0e47d3f 100644
--- a/src/ua.c
+++ b/src/ua.c
@@ -1392,8 +1392,6 @@ int ua_init(const char *software, bool udp, bool tcp, bool tls,
*/
void ua_close(void)
{
- ui_reset();
-
uag.evsock = mem_deref(uag.evsock);
uag.sock = mem_deref(uag.sock);
uag.lsnr = mem_deref(uag.lsnr);