/**
 * @class
 * @namespace PIXI
 * @param renderer {WebGLRenderer} The renderer this manager works for.
 */
function WebGLManager(renderer)
{
    /**
     * The renderer this manager works for.
     *
     * @member {WebGLRenderer}
     */
    this.renderer = renderer;

    var self = this;
    this.renderer.on('context', function(){

    	self.onContextChange();

    });
}

WebGLManager.prototype.constructor = WebGLManager;
module.exports = WebGLManager;

WebGLManager.prototype.onContextChange = function ()
{
	// do some codes init!
};

WebGLManager.prototype.destroy = function ()
{
    this.renderer = null;
};

@@ -317,16 +317,42 @@
 ontext',
+ this._onContextChangeFn =
  functio
@@ -607,24 +607,79 @@
 nction ()%0A%7B%0A
+    this.renderer.off('context', _onContextChangeFn);%0A%0A
     this.ren

remove leaking event