projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50485a2
)
adds resets to destructor
author
gellert
<gellihegyi@gmail.com>
Wed, 3 Aug 2016 15:38:56 +0000
(17:38 +0200)
committer
gellert
<gellihegyi@gmail.com>
Wed, 3 Aug 2016 15:38:56 +0000
(17:38 +0200)
atom/browser/osr/osr_render_widget_host_view.cc
patch
|
blob
|
history
diff --git
a/atom/browser/osr/osr_render_widget_host_view.cc
b/atom/browser/osr/osr_render_widget_host_view.cc
index
4ae3a57
..
2f6d026
100644
(file)
--- a/
atom/browser/osr/osr_render_widget_host_view.cc
+++ b/
atom/browser/osr/osr_render_widget_host_view.cc
@@
-379,6
+379,13
@@
OffScreenRenderWidgetHostView::~OffScreenRenderWidgetHostView() {
#if defined(OS_MACOSX)
DestroyPlatformWidget();
#endif
+
+ if (copy_frame_generator_.get())
+ copy_frame_generator_.reset(NULL);
+
+ delegated_frame_host_.reset(NULL);
+ compositor_.reset(NULL);
+ root_layer_.reset(NULL);
}
void OffScreenRenderWidgetHostView::OnBeginFrameTimerTick() {