Instantly delete a java object and allow the object
to be garbage collected by the java gc.
Calling this method on an object that has already been
deleted will throw an error. If an object has been deleted,
it is not possible to use it anymore, although the object
may still exist in the javascript process.
NOTE: Use this method with caution, as there is no proper
synchronization with deleting the object and other methods using
this object in an asynchronous manner. This may cause the object
to be deleted while another method is still using it.
This may cause the program to crash in very rare cases.
Instantly delete a java object and allow the object to be garbage collected by the java gc. Calling this method on an object that has already been deleted will throw an error. If an object has been deleted, it is not possible to use it anymore, although the object may still exist in the javascript process.
NOTE: Use this method with caution, as there is no proper synchronization with deleting the object and other methods using this object in an asynchronous manner. This may cause the object to be deleted while another method is still using it. This may cause the program to crash in very rare cases.