Esempio n. 1
0
def deleteInstance( inInstance ):
	if inInstance and inInstance.breveInstance != None:
		inInstance.destroy()
		traceDelete( inInstance )
	
		breveInternal.removeInstance( breveInternal.breveEngine, inInstance )

		removeFromInstanceLists( inInstance.__class__, inInstance )

		inInstance.breveInstance = None;
		del inInstance
Esempio n. 2
0
def deleteInstance(inInstance):
    if inInstance and inInstance.breveInstance != None:
        inInstance.destroy()
        traceDelete(inInstance)

        breveInternal.removeInstance(breveInternal.breveEngine, inInstance)

        removeFromInstanceLists(inInstance.__class__, inInstance)

        inInstance.breveInstance = None
        del inInstance
def deleteInstance( inInstance ):
	if inInstance and inInstance.breveInstance != None:
		inInstance.destroy()
		traceDelete( inInstance )

		breveInternal.removeInstance( breveInternal.breveEngine, inInstance )
		all = allInstances( inInstance.__class__.__name__ )
		if inInstance in all:
			all.remove( inInstance )

		inInstance.breveInstance = None;
		del inInstance
def deleteInstance(inInstance):
    if inInstance and inInstance.breveInstance != None:
        inInstance.destroy()
        traceDelete(inInstance)

        breveInternal.removeInstance(breveInternal.breveEngine, inInstance)
        all = allInstances(inInstance.__class__.__name__)
        if inInstance in all:
            all.remove(inInstance)

        inInstance.breveInstance = None
        del inInstance