spencersalazar / chuck

28 stars 8 forks source link

WvOut2 issue #5

Closed spencersalazar closed 11 years ago

spencersalazar commented 11 years ago

WvOut2 does not seem to close the file on disk properly if the shred it is in is removed forcefully.

spencersalazar commented 11 years ago

Turns out this was due to a reference cycle between multi-channel ugens and their individual channel ugens, causing WvOut2 to never get fully released (and thus never closing the file). Individual channel ugens no longer add a reference to their owning ugens, preventing the cycle. This should be ok?