projects
/
platform
/
core
/
context
/
job-scheduler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d6372c
)
Change the cleanup order to avoid crashes
93/140993/1
author
Mu-Woong Lee
<muwoong.lee@samsung.com>
Thu, 27 Jul 2017 11:23:35 +0000
(20:23 +0900)
committer
Mu-Woong Lee
<muwoong.lee@samsung.com>
Thu, 27 Jul 2017 11:23:35 +0000
(20:23 +0900)
Change-Id: Ide05404079204694c6ed1bacd1a71a497f3d4c32
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
src/server/JobSchedulerService.cpp
patch
|
blob
|
history
diff --git
a/src/server/JobSchedulerService.cpp
b/src/server/JobSchedulerService.cpp
index ddcd183470515a6c704dccb34e4fb9ee3e1e865d..9eda341f2ac756bfa82535d1627033a91f23046f 100644
(file)
--- a/
src/server/JobSchedulerService.cpp
+++ b/
src/server/JobSchedulerService.cpp
@@
-70,12
+70,12
@@
bool JobSchedulerService::prepare()
void JobSchedulerService::cleanup()
{
- ContextManager::release();
- SchedTimer::release();
for (auto& it : __jobManagers) {
delete it.second;
}
__jobManagers.clear();
+ SchedTimer::release();
+ ContextManager::release();
}
void JobSchedulerService::onUserActivated(uid_t uid)