FoxInCloud
Restoring classlib and procedure after FiC exits
Gravatar is a globally recognized avatar based on your email address. Restoring classlib and procedure after FiC exits
  Paul
  All
  Aug 21, 2019 @ 07:22pm

Hi,

v.2.30.0-beta.2
I have a vague memory that FiC should restore the set classlib and set procedure once it exits in an interactive VFP session, but I am finding that everything is left open afterwards.
I had even changed my code a few months ago to not clear things at the end when in web mode because FiC took care of it instead.

Has something changed or has it always been like this and my memory is wrong?

Paul

Gravatar is a globally recognized avatar based on your email address. re: Restoring classlib and procedure after FiC exits
  FoxInCloud Support - Thierry N.
  Paul
  Aug 22, 2019 @ 12:26am

FoxInCloud server instantiates the awSets of awPublic.prg class, which instantiates the abSetsMaintain of abDev.prg class, the method .destroy() of which restores whatever setting has changed since .Init(), including Set('classlib') and set('procedure').

Never saw any flaw in this process, however you may want to set breakpoints in some key methods of both these classes to get a confirmation…

© 1996-2019