Fix pfset: cleanup function did not fire when pattern was stopped manually
commitac3cf816731a87511b6f15e1365e17c838fa82fe
authorJames Harkins <jamshark70@dewdrop-world.net>
Wed, 14 Dec 2011 06:44:26 +0000 (14 14:44 +0800)
committerJames Harkins <jamshark70@dewdrop-world.net>
Wed, 14 Dec 2011 06:45:43 +0000 (14 14:45 +0800)
tree684fe0544bffddaf2ba8e8fbfdb69a47c80df871
parent53260bcccaedd99110b178d8a2352cb226543e77
Fix pfset: cleanup function did not fire when pattern was stopped manually

cleanup.addFunction was called accidentally on the input event,
not the result event

also I am reversing 'inevent' and 'event' -- this class, stupidly, used
'event' for the input event and 'inevent' for the result (output) event.

This misuse is present in other pattern classes. I don't have time to
review now, but this really needs to be cleaned up. It's really
confusing.
SCClassLibrary/Common/Streams/FilterPatterns.sc