|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
onStop() event was not triggered in Eclipse |
[tzfox]
|
Post subject: onStop() event was not triggered in Eclipse |
Post rating: 0
|
Posted: Tue 29 Sep, 2009, 15:05
|
|
User rating: 0
Joined: Tue 29 Sep, 2009, 09:14 Posts: 3
|
another problem when use the standalone lib API: My stragety starts and runs very well, but after press the "Terminate" button (red button inside console window of eclipse), the onStop() event was not triggered, which cause some objects were not destroyed.
thanks, tzFox
|
|
|
|
 |
API Support
|
Post subject: Re: onStop() event was not triggered in Eclipse |
Post rating: 0
|
Posted: Wed 30 Sep, 2009, 09:31
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Terminate button kills java instantly, it's not a normal close. You should add shutdown handler in your program where you stop the strategy and use Ctrl+C from console
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|