Quote:
Originally Posted by ownedbycats
I don't think there's any good way to halt a chain in progress, is there? 
|
You can cache the names of the chains as they run, and once you detect a chain running for the second time, halt the whole process with an exception. It is just not a good idea to halt a chain midway. The difficult part is checking before the chain runs.