Skip to main content
Inspiring
Mar 23, 2007 10:44 PM UTC
Answered

How do I know when main.asc reloads?

I am working on an application that uses a main.asc plus two apps that connect with it. How can I tell when main has unloaded so I can be sure my edited copy is the one that's running?

I know it's supposed to unload when the last client has disconnected, and I don't doubt that it is. The question is, how can I confirm this?

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Correct answer
    Mar 23, 2007 11:28 PM UTC
    Main.asc is loaded whenver an app instance starts.

    FMS doesn't shut down application instances automatically when the last client disconnects... it happens on the first garbage collection run after the last client is gone.

    If you want to be sure of the main.asc version you're running, you can manually stop or restart the instance from the admin console (you'll know for sure that way). Alternately, you could keep a log using the file class.

    1 reply

    Correct answer
    Mar 23, 2007 11:28 PM UTC
    Main.asc is loaded whenver an app instance starts.

    FMS doesn't shut down application instances automatically when the last client disconnects... it happens on the first garbage collection run after the last client is gone.

    If you want to be sure of the main.asc version you're running, you can manually stop or restart the instance from the admin console (you'll know for sure that way). Alternately, you could keep a log using the file class.
    Translate