summaryrefslogtreecommitdiff
path: root/src/if_tcl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/if_tcl.c')
-rw-r--r--src/if_tcl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/if_tcl.c b/src/if_tcl.c
index 995a5c727..3e002b98a 100644
--- a/src/if_tcl.c
+++ b/src/if_tcl.c
@@ -2052,9 +2052,11 @@ tcldelallrefs(ref)
int err;
char *result;
+#ifdef DYNAMIC_TCL
/* TODO: this code currently crashes Vim on exit */
if (exiting)
return;
+#endif
while (ref != NULL)
{