Revert "Do not unload agent symbol file"
authorSeonah Moon <seonah1.moon@samsung.com>
Wed, 3 Jun 2020 11:50:10 +0000 (20:50 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Wed, 3 Jun 2020 11:50:10 +0000 (20:50 +0900)
This reverts commit 37808dc1789f8a3cdb99ce698ac38ec3a917a047.

packaging/download-provider.spec
provider/download-provider-plugin-download-agent.c

index 6e7bb30..337a6ca 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       download-provider
 Summary:    Download the contents in background
-Version:    2.1.121
+Version:    2.1.120
 Release:    0
 Group:      Development/Libraries
 License:    Apache-2.0
index 3ff0f95..225b31f 100755 (executable)
@@ -712,9 +712,8 @@ void dp_deinit_agent()
                if (download_agent_deinit != NULL)
                        (*download_agent_deinit)();
 
-               // Do not unload a symbol file here.
-               //dlclose(g_da_handle);
-               //g_da_handle = NULL;
+               dlclose(g_da_handle);
+               g_da_handle = NULL;
        }
 }