I have an arraylist MyList of MyMonitored objects. Within the MyMonitored class is a running thread object.
What is the best practice to remove the MyMonitored instance from MyList? Can I just remove the MyMonitored instance from MyList and let GC handle it, or do need to ensure the thread running within the object has stopped first? If so, can I just to this within the MyMonitored class's destructor?