Minimal example: (macOS 10.12, python 3.5.4 & 3.6.1, pyqtgraph version 0.10.0) ``` import pyqtgraph as pg pg.exit() ``` > OSError: [Errno 9] Bad file descriptor