Commits

Maciej Fijalkowski committed 29b1b09

call RSocket.__del__ directly instead of close(). Will not raise

  • Participants
  • Parent commits 78904ea
  • Branches lightweight-finalizers

Comments (0)

Files changed (1)

pypy/module/_socket/interp_socket.py

 class W_RSocket(Wrappable, RSocket):
     def __del__(self):
         self.clear_all_weakrefs()
-        self.close()
+        RSocket.__del__(self)
 
     def accept_w(self, space):
         """accept() -> (socket object, address info)