Permalink
Browse files

Disable the destruction of the interpreter as it segfaults.

Will try to renable it after making sure all the refcounts are kept correctly.
  • Loading branch information...
1 parent 6383a22 commit 5ff062bf6930edfb566b3eb677c5b104a2b5f971 @pmurias pmurias committed Jan 15, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/p5embed.c
View
@@ -39,9 +39,12 @@ SV* p5embed_eval(char* code) {
void p5embed_dispose()
{
+ /* Disable temorarly as it seems to cause segfaults */
+ /*
perl_destruct(my_perl);
perl_free(my_perl);
PERL_SYS_TERM();
+ */
}

0 comments on commit 5ff062b

Please sign in to comment.