about summary refs log tree commit diff
path: root/Src/builtin.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/builtin.c')
-rw-r--r--Src/builtin.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index 03cb6c02f..a8e9e12c0 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -3201,9 +3201,6 @@ zexit(int val, int from_signal)
 	if (in_exit++ && from_signal) {
 	    LASTALLOC_RETURN;
 	}
-	zleactive = 0;
-	exit_modules();
-
 	if (isset(MONITOR)) {
 	    /* send SIGHUP to any jobs left running  */
 	    killrunjobs(from_signal);