Mercurial > pidgin
comparison plugins/perl/perl.c @ 6522:0c5233faceb8
[gaim-migrate @ 7039]
Clean up our timeout handlers on plugin unload. Crashes are a bad thing.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 20 Aug 2003 10:28:14 +0000 |
parents | 2e2593d95121 |
children | d7e04709be96 |
comparison
equal
deleted
inserted
replaced
6521:74d5488cb3b6 | 6522:0c5233faceb8 |
---|---|
77 #endif | 77 #endif |
78 | 78 |
79 #include "internal.h" | 79 #include "internal.h" |
80 #include "debug.h" | 80 #include "debug.h" |
81 #include "plugin.h" | 81 #include "plugin.h" |
82 | |
83 #include "perl-handlers.h" | |
82 | 84 |
83 #define PERL_PLUGIN_ID "core-perl" | 85 #define PERL_PLUGIN_ID "core-perl" |
84 | 86 |
85 typedef struct | 87 typedef struct |
86 { | 88 { |
362 PUTBACK; | 364 PUTBACK; |
363 FREETMPS; | 365 FREETMPS; |
364 LEAVE; | 366 LEAVE; |
365 | 367 |
366 gaim_signals_disconnect_by_handle(plugin); | 368 gaim_signals_disconnect_by_handle(plugin); |
369 gaim_perl_timeout_clear_for_plugin(plugin); | |
367 | 370 |
368 return TRUE; | 371 return TRUE; |
369 } | 372 } |
370 | 373 |
371 static void | 374 static void |