Example #1
0
	void releaseFunctionPtr() {
		if( released ) {
			return;
		}

		released = true;
		funcPtr.release();

		if( target ) {
			target->RemoveReference();
			target = NULL;
		}
	}
Example #2
0
	virtual ~ScriptEventCaller() {
		funcPtr.release();
	}
Example #3
0
	void releaseFunctionPtr()
	{
		released = true;
		funcPtr.release();
	}