- User Since
- Jun 8 2018, 2:49 PM (77 w, 6 d)
Jun 20 2018
I confirmed that the destructor behavior i.e., invoke it after SOCK_UNLOCK() in sofree() as below.
Or should I submit a new patch?
Jun 18 2018
Just the destructor behaviour should suffice, but let me come back soon after checking.
It is literally destructor, which is called when the final reference count drops to zero. So probably we should define so_dtor() as destructor (so keep the name) and call it after SOCK_UNLOCK() in sofree(). (in Linux it is invoked without locking socket).