disposeGlobalStandaloneApplicationServices¶
Disposes global resources which would persist after unloading Analysis API and IJ platform classes.
Important: Once this function has been called, Analysis API and IntelliJ platform classes should not be used anymore. The classes should either be unloaded or the whole program should be shut down.
You don't need to use this endpoint right before your program shuts down. The purpose of this function is rather to dispose global resources which would persist after unloading Analysis API and IJ platform classes. For example, an IJ platform class may be registered with a JDK class. If Analysis API & IJ platform classes are unloaded, this global registration may keep alive the old class loader.
Note: Everything in Standalone is experimental, but this endpoint is likely to change in the near future. Please consult with the Analysis API team if you want to use this. (We'll want to know about your use case.)