Before calling methods of EcoreHandler, the AppCoreMultiWindowBase
should check whether the handler is nullptr or not.
Change-Id: I3a52492d3ecefef46ae5ecc7bb4ffd6bc06fb3c0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
}
impl_->contexts_.clear();
impl_->factory_map_.clear();
- impl_->handler_->UnsetEvents();
+
AppCoreBase::Dispose();
- impl_->handler_->Fini();
+ if (impl_->handler_.get() != nullptr) {
+ impl_->handler_->UnsetEvents();
+ impl_->handler_->Fini();
+ }
}
int AppCoreMultiWindowBase::OnCreate() {