Revert "refs #255, have the fsync_log minicron shutdown before we close the logger in env_close"

This reverts commit c58c4949b8b12969db37d00810891a4490cb5fe9.
This commit is contained in:
Zardosht Kasheff 2014-06-04 15:40:35 -04:00
parent 5cd670f646
commit 9f3d122140

View File

@ -1160,7 +1160,6 @@ env_close(DB_ENV * env, uint32_t flags) {
goto panic_and_quit_early;
}
}
env_fsync_log_cron_destroy(env);
if (env->i->cachetable) {
toku_cachetable_minicron_shutdown(env->i->cachetable);
if (env->i->logger) {
@ -1201,6 +1200,7 @@ env_close(DB_ENV * env, uint32_t flags) {
}
env_fs_destroy(env);
env_fsync_log_cron_destroy(env);
env->i->ltm.destroy();
if (env->i->data_dir)
toku_free(env->i->data_dir);