Open wujiang opened 8 years ago
:+1: Just ran into this issue
While I understand the problem, it seems to me that the unexporting should happen last after closing the exported files. So it seems that the Close() calls should be skipped on !initialized but the order of events shouldn't be changed.
Exported digital pins can be uninitialized.
How to reproduce the problem
After the change: