method BeepProfile.ChanClose (ChannelID)
Callback - called by the framework when there channel was closed.

  TypeDescription 
   ChannelID as Integer Integer value that holds channel ID. 
 

ChanClose is a notification method you should implement in your profile. wodBeep will call this method (so it notifies your profile) that channel that uses your profile is to be closed. At this point you can execute cleanup code for that channel.