mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
hunt for killerchicken's socket counting problem
svn:r13578
This commit is contained in:
parent
be8a85dc1c
commit
ab4d3888e4
@ -509,6 +509,7 @@ tor_close_socket(int s)
|
||||
#else
|
||||
close(s);
|
||||
#endif
|
||||
tor_assert(n_sockets_open > 0);
|
||||
--n_sockets_open;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user