- changed status to resolved
Hello demo application throws exception on dws.free
Issue #166
resolved
The Hello demo applications throws an exception on dws.free: EdwsActivePrograms: TDelphiWebScript instance "" still has 1 active IdwsProgram instance(s)
Is this a general problem?
Best regards
Comments (2)
-
repo owner -
repo owner This is a warning that was added sometime ago, to avoid issues arising from a compiled program being alive after the TDelphiWebScript instance that was used to compile them was freed.
As TDelphiWebScript is a component, it is susceptible to be freed before the automatically managed programs (interface-based), which is an issue the demo had (innocuous in the case of the demo as the program was not used, but potentially problematic in more complex usages scenarios) - Log in to comment
Fixed
#166, remove the dust from "Hello" demo→ <<cset 8bf74e1d0b7f>>