Skip to content
Snippets Groups Projects
Commit 85b22575 authored by Sergey Linev's avatar Sergey Linev
Browse files

[reve] also correctly cleanup OrbitControl object

parent e2eee8e5
No related branches found
No related tags found
Loading
...@@ -156,6 +156,10 @@ sap.ui.define([ ...@@ -156,6 +156,10 @@ sap.ui.define([
delete this.renderer; delete this.renderer;
delete this.scene; delete this.scene;
delete this.composer; delete this.composer;
if (this.controls) {
this.controls.dispose();
delete this.controls;
}
}, },
mouseMoveHandler: function(event) { mouseMoveHandler: function(event) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment