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

		released = true;
		funcPtr.release();

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