commit | 707d500b9fea002f075cf30458a602f28dbd1348 | [log] [tgz] |
---|---|---|
author | Nathan Hjelm <hjelmn@me.com> | Tue Jul 23 20:56:37 2013 -0600 |
committer | hjelmn <Nathan Hjelm hjelmn@cs.unm.edu> | Tue Jul 30 09:08:39 2013 -0600 |
tree | 8cd9ad3ad15d2dd9ca610347c08f4115f3deedc3 | |
parent | 97958ba756b2f90aa9f65cc7674bc558768dde9f [diff] |
keep a reference to the device for each active transfer and let the backend handle cancelling active transfers when a device is disconnected This commit should fix issues with active transfers when a device is disconnected. The backend is responsible for making sure the completion callbacks are made, not the hotplug code. This should fix a number of issues including duplicate callbacks and segmentation faults. References #124.