Fix to delete the dirty timer 93/181293/1 accepted/tizen/unified/20180625.141504 submit/tizen/20180621.094520
authorSeechan, Kim <cbible.kim@samsung.com>
Tue, 12 Jun 2018 01:28:29 +0000 (10:28 +0900)
committerSeechan, Kim <cbible.kim@samsung.com>
Tue, 12 Jun 2018 01:28:29 +0000 (10:28 +0900)
Change-Id: Icbbc7e9d793caee5c82e975371a5c0650af5e2a1

src/here_view.cpp

index 7cf4a64..80ded06 100644 (file)
@@ -204,6 +204,11 @@ here_error_e HereView::close(maps_view_h view)
                __idler = NULL;
        }
 
+       if (__dirtyTimer) {
+               ecore_timer_del(__dirtyTimer);
+               __dirtyTimer = NULL;
+       }
+
        if (__map) {
                __map->SetUpdateMapSignal(NULL);
                delete __map;