mirror of
https://github.com/vishapoberon/vipak.git
synced 2026-04-06 13:02:26 +00:00
finalize on error as well.
This commit is contained in:
parent
0edfd99ca4
commit
d2dc0956ea
2 changed files with 2 additions and 2 deletions
1
test.Mod
1
test.Mod
|
|
@ -58,6 +58,7 @@ END onPublicMessageWithMention;
|
|||
PROCEDURE interrupt(i: LONGINT);
|
||||
BEGIN
|
||||
(* here we need to flush files to disk before exiting. and probably close the irc connection *)
|
||||
Out.String("interrupt caught."); Out.Ln;
|
||||
IRC.finalize(inst);
|
||||
HALT(0);
|
||||
END interrupt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue