yuvi
yuvi

Reputation: 79

what event perform in termination action

what exactly event perform at the time of termination the program in eclipse? It means whenever we directly close the program whatever running in eclipse console by pressing red button or close then what exactly event perform ? if u know something about this then please share your knowledge with me

Upvotes: 1

Views: 173

Answers (1)

greg-449
greg-449

Reputation: 111217

Exactly what is run when you terminate a program run from Eclipse depends on the type of program being run, for most types of launch the code eventually ends up in the terminate method of org.eclipse.debug.core.model.RuntimeProcess.

RuntimeProcess uses the destroy method of java.lang.Process to actually kill the program.

Upvotes: 1

Related Questions