With my last commit Conduit now happily supports hot unplug of dataproviders, in particular the iPod support is taking advantage of this. If you eject your iPod while Conduit is open it will disappear from the list of available dataproviders and any active Conduits you have will be set to “Pending”. Plugging the iPod back in works fine too, the Pending dataproviders are replaced with the real thing once more! 
Now to write some tests and make sure everything is cleared down properly – 1000 add / remove cycles should give me some clues about any nasty leaks lurking in there
It would be nice (or rather, terrifying!!) to see what happens if I were to eject mid synchronization…
Tags: Conduit
[...] John has finished up all the remaining pieces to allow iPods to be hotplugged/removed in conduit, so that synchronization settings and state are preserved. [...]