stop a stateMachine

Hello all

It seems that it is impossible to deactivate a stateMachine during the stopHook() if the statMachine is not in the finalState. But, it is also impossible to call the method requestFinalState() of the stateMachine when the component is in the stop state.

Didier

stop a stateMachine

On Tue, Nov 24, 2009 at 17:42, <didier [dot] gardan [..] ...> wrote:
> Hello all
>
> It seems that it is impossible to deactivate a stateMachine during the stopHook() if the statMachine is not in the finalState. But, it is also impossible to call the method requestFinalState() of the stateMachine when the component is in the stop state.

If you call deactivate() twice, this will force deactivation of your SM.

Peter

stop a stateMachine

On Nov 24, 2009, at 11:42 , didier [dot] gardan [..] ... wrote:

> Hello all
>
> It seems that it is impossible to deactivate a stateMachine during the stopHook() if the statMachine is not in the finalState. But, it is also impossible to call the method requestFinalState() of the stateMachine when the component is in the stop state.
>
>
> Didier

Search the ML. There was a similar post to this a couple of months back, and Peter gave some suggestions. It remains a problem IIRC ...
Stephen

stop a stateMachine

Hello all

It seems that it is impossible to deactivate a stateMachine during the stopHook() if the statMachine is not in the finalState. But, it is also impossible to call the method requestFinalState() of the stateMachine when the component is in the stop state.

Didier