[Autogenerated] What happens when the process terminates the process.
Is no longer able to run any kind of code However,
what happens if there are still open handles.
To this object, this is known as a zombie process,
and a zombie process, is kept alive the E process,
data structure, and everything it points,
to is still kept alive because there's at least one handle pointing.
To the object.
Even though the process itself from a code perspective,
is No longer running any code and can't really run any more code and
because those process objects cannot be destroyed.
The process.
ID for example, cannot be reused.
So it's going to be sort of taken until the last handle.
To the process object, is closed, and there,
are cases where you might find applications or
processes which leak other processes.
To that extent when they're holding on two handles
without closing them promptly.
So it's very important.
To close handles, always, that's always a good thing,
to do once you no longer need the object.
So the object, can be destroyed as if nobody else needs to use the object.
But for processes might be even more important because process objects.
Are fairly big ones they have.
Lots of data they need to work with so it,
is important to close these handles once these processes no
longer run any code you can get some information at that
point such as the time the process.
Was running and the exit time of the process,
things like that but then you should close that handle.
So the process object can hopefully die.
The same thing can also happen with threats.
Threats also might be terminated already because
they're done with doing their work.
But still open handed.
To these processes, to these threats in this case,
might hold these three objects alive.
A threat, object, is much smaller than a process object.
But still this is not ideal, and these handles should be closed.
The question, is Can we identify process?
And thread, zombies like that and the answer, is Yes.
Let me show you.
A tool, that can identify zombie processes.
And threats.