-
Notifications
You must be signed in to change notification settings - Fork 616
Closed
Labels
Design DiscussionOngoing discussion about design without consensusOngoing discussion about design without consensusapi-suggestionEarly API idea and discussion, it is NOT ready for implementationEarly API idea and discussion, it is NOT ready for implementationarea-System.Device.GpioContains types for using general-purpose I/O (GPIO) pinsContains types for using general-purpose I/O (GPIO) pins
Description
Multiple devices take SpiDevice/I2cDevice in the constructor and then dispose it later. We should reconsider if this is good approach and if disposing is always expected. Some alternatives:
- do not dispose the device and let the caller dispose it instead
- take bool flag (i.e. shouldDispose) and let the caller pick what they want
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Design DiscussionOngoing discussion about design without consensusOngoing discussion about design without consensusapi-suggestionEarly API idea and discussion, it is NOT ready for implementationEarly API idea and discussion, it is NOT ready for implementationarea-System.Device.GpioContains types for using general-purpose I/O (GPIO) pinsContains types for using general-purpose I/O (GPIO) pins