Fixes issue #3826 and #4791:
Have SocketIO objects update their reference count in the underlying socket object on close() so that the underlying socket object is closed immediately when the last user is done rather than at an unknown later time when garbage collection can do it.
G
Gregory P. Smith committed
de3369f2ca0e2e1b26482a34fdc09d18a3a928d9
Parent: ce36962