Monitor Grasshopper unloading

Dear All,

I have been looking without success for an event that would correspond to the fact that Grasshopper is being unloaded, to be able to monitor it (to trigger the killing of other procedures, etc.). Does anybody now if such a thing exists in the SDK?

Thank you in advance,

Thibault.

  • up

    David Rutten

    It doesn't. Grasshopper never fully unloads as it is not possible to unload an assembly from an AppDomain. In this case, the lifetime of Grasshopper (and all assemblies loaded by GH) is tied to the lifetime of Rhino.exe

    --

    David Rutten

    david@mcneel.com

    Tirol, Austria

    3