 
 		return instance;
 	}
+	
+	/**
+     *  Resets the state of our factory to the initial, uninitialized state.
+     *  The reference to our cached instance is cleared.
+     * 
+     *  @langversion 4.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 4
+     */
+    public function reset():void
+    {
+        instance = null;
+        
+        if (destructor != null)
+            destructor();
+    }
+
 }
 
 }

     *  @playerversion AIR 1.1
     *  @productversion Flex 3
     */
    public function DeferredInstanceFromFunction(generator:Function)
    {
		super();

    	this.generator = generator;
    }

	//--------------------------------------------------------------------------

 *  @playerversion AIR 1.1
 *  @productversion Flex 3
 */
public class DeferredInstanceFromFunction implements ITransientDeferredInstance
{
    include "../core/Version.as";

