invisibleroads / invisibleroads/socketIO-client

Usage of atexit causes many issues when Python quits.

Open
#152 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
441
Forks
204
PR merge metrics
No merged PRs in 30d

Description

What is the reason of using ``atexit`` instead of just having an explicit close method? (Why is ``_close()`` a private function?) For some reason, this causes a lot of issues.

![image](https://cloud.githubusercontent.com/assets/216638/24406865/a7e98028-13c9-11e7-972a-4c47c2b1f560.png)

![image](https://cloud.githubusercontent.com/assets/216638/24407030/f4cb7d88-13c9-11e7-83e3-e4a94f2dba51.png)

This happens when this library is used by the pytest framework.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.