test: free waylandSurface before releasing DSWaylandCompositor 18/242018/1
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 21 Aug 2020 06:36:20 +0000 (15:36 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Fri, 21 Aug 2020 10:11:05 +0000 (19:11 +0900)
Change-Id: I106f6860270dc9ad89eb05f1a4507de5f18c1542
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
tests/libds-mock.h

index ac77287..b473762 100644 (file)
@@ -57,6 +57,7 @@ public:
 
        ~MockWaylandCompositor()
        {
+               __waylandSurface.reset();
                DSWaylandCompositor::releaseInstance();
                DSEventLoop::releaseInstance();
        }