[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-apl] Termination behaviour
From: |
Dirk Laurie |
Subject: |
[Bug-apl] Termination behaviour |
Date: |
Mon, 9 Feb 2015 07:23:09 +0200 |
Hi Jurgen:
Since merely loading libapl.so (which is all of GNU APL except main.o)
creates an APL workspace, the question of clean termination arises.
I have experimentally determined that )OFF does not call finalizers
on the Lua side. This is unacceptable, since Lua provides a facility
for programs to create custom-defined finalizers. Hence I must
disallow )OFF.
In the C interface, I can create a custom finalizer that will call
`cleanup(true)`.
Have I missed some subtlety?
Best wishes
Dirk
- [Bug-apl] Termination behaviour,
Dirk Laurie <=