提交 e07f90ba 编写于 作者: M Mr.doob

Editor: Proper App.dispose()

上级 5f73e141
......@@ -247,7 +247,12 @@ var APP = {
this.dispose = function () {
this.dom.removeChild( renderer.domElement );
while ( this.dom.children.length ) {
this.dom.removeChild( this.dom.firstChild );
}
renderer.dispose();
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册