libgs.protocols.protocolbase.ProtocolBase.terminate

ProtocolBase.terminate()[source]

Interface method that is called by the scheduler as soon as a pass has finished. It should contain any clean-up routines required (power off amplifiers etc…), and most importantly ensure that any threads or loops initiated by the Protocolclass are immediately terminated in a clean and controlled manner.