section of some code, and a SIGINT signal is received, will the
finally
block attached to that
try
be executed before the program closes?
d
Dominaezzz
01/04/2020, 9:45 PM
Was wondering this too. I have a feeling it doesn't run, since it's not an exception.
s
serebit
01/04/2020, 9:49 PM
That's my thought too, but I can't think of any other way to do non-static resource cleanup on SIGINT with C interop. The Java way doesn't work, since the static C functions can't access non-static properties or functions...