summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Kang <jonathankang@gnome.org>2020-10-30 09:12:31 +0800
committerJonathan Kang <jonathankang@gnome.org>2020-10-30 09:12:31 +0800
commitd8dd484ddfcea4750495fa92dcd2f580149432e7 (patch)
tree936b9328e48bcd04e331e774a40b780d50ab71bf
parent8b621738a51bcb7a9fa215865cacbd7846a373b1 (diff)
Revert "zypp: Clean up temporary files when PK quits"
The previous commit was meant to workaround the fact that PackageKit doesn't quit normally on a timed exit. Since commit 8b621738 fixes that, this is no longer needed. This reverts commit 807f410e28074c8ad2b99682446bbb460fd54adf.
-rw-r--r--backends/zypp/pk-backend-zypp.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp
index 9404abb1a..b1ce76915 100644
--- a/backends/zypp/pk-backend-zypp.cpp
+++ b/backends/zypp/pk-backend-zypp.cpp
@@ -1840,8 +1840,6 @@ pk_backend_destroy (PkBackend *backend)
{
g_debug ("zypp_backend_destroy");
- filesystem::recursive_rmdir (zypp::myTmpDir ());
-
g_free (_repoName);
delete priv;
}