Exemple #1
0
            public override void Finally()
            {
                AnnoyingTordOrch     __svc__  = (AnnoyingTordOrch)_service;
                __AnnoyingTordOrch_1 __ctx1__ = (__AnnoyingTordOrch_1)(__svc__._stateMgrs[1]);

                if (__ctx1__ != null && __ctx1__.__msgInput != null)
                {
                    __ctx1__.UnrefMessage(__ctx1__.__msgInput);
                    __ctx1__.__msgInput = null;
                }
                base.Finally();
            }
Exemple #2
0
            public override void Finally()
            {
                AnnoyingTordOrch          __svc__  = (AnnoyingTordOrch)_service;
                __AnnoyingTordOrch_root_0 __ctx0__ = (__AnnoyingTordOrch_root_0)(__svc__._stateMgrs[0]);

                if (__svc__.InputPort != null)
                {
                    __svc__.InputPort.Close(this, null);
                    __svc__.InputPort = null;
                }
                if (__svc__.SendPort != null)
                {
                    __svc__.SendPort.Close(this, null);
                    __svc__.SendPort = null;
                }
                base.Finally();
            }