Reputation: 5
I have multiple initialized WMPLib players in my code. I want to be able to kill some of them on command. I know how to make an event, but not how to dispose those Players since I just don't want them to exist anymore.
There's
Player.controls.stop();
but is this seriously the way to do it? How can I dispose it on command (i.e event trigger)?
Upvotes: 0
Views: 82