cancel
Showing results for 
Search instead for 
Did you mean: 

How to destroy an object after use.

chikki
Contributor

How to destroy an object after use.

Hi,

I have defined an object and used it, now i want to destroy my object/memory.

how to do it in groovy.

in vbscripts we use

dim obj1 //declaration
set obj1= nothing will destroy the object.

I am a new bie and using Soap UI from past 3 months.



 
"when the going get tough, that's when the tough get going"
1 REPLY 1

Re: How to destroy an object after use.

Hi,

groovy uses garbage collecting, so you just need to set your object to null and it will be garbage collected.


obj1= null

regards
Nebojsa
eviware.com


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Top Kudoed Authors