AddKeepAlive() private method

private AddKeepAlive ( Object o ) : void
o Object
return void
Example #1
0
        internal TclCmdDeleteProcWrapper(TclInterp interp, TclCmdDeleteProc proc, Object deletee)
        {
            _interp = interp;
            _proc   = proc;
            unsafe { _callback = new Tcl_CmdDeleteProc(this.CallbackProc); }
            _deletee = deletee;

            _interp.AddKeepAlive(this);
            _interp.AddKeepAlive(_deletee);
        }
 internal TclCmdDeleteProcWrapper(TclInterp interp, TclCmdDeleteProc proc, Object deletee) {
     _interp = interp;
     _proc = proc;
     unsafe { _callback = new Tcl_CmdDeleteProc(this.CallbackProc); }
     _deletee = deletee;
     
     _interp.AddKeepAlive(this);
     _interp.AddKeepAlive(_deletee);
 }