summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system')
-rwxr-xr-xlib/system/excpt.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim
index 6ef4ca376..c309ef17e 100755
--- a/lib/system/excpt.nim
+++ b/lib/system/excpt.nim
@@ -196,7 +196,6 @@ proc raiseException(e: ref E_Base, ename: CString) {.compilerRtl.} =
   e.name = ename
   if raiseHook != nil:
     if not raiseHook(e): return
-  GC_disable() # a bad thing is an error in the GC while raising an exception
   if excHandler != nil:
     pushCurrentException(e)
     c_longjmp(excHandler.context, 1)
@@ -233,7 +232,6 @@ proc raiseException(e: ref E_Base, ename: CString) {.compilerRtl.} =
       add(buf, "]\n")
       writeToStdErr(buf)
     quitOrDebug()
-  GC_enable()
 
 proc reraiseException() {.compilerRtl.} =
   if currException == nil: