jbcooley / tivo-sdks

Libraries for building TiVo applications in .NET
2 stars 1 forks source link

Applications won't exit #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start the hello world sample.
2. press the left direction key
3. application doesn't exit

What is the expected output? What do you see instead?

The dispose method should end the application.  Even better if there is an
Application.Close method.

Original issue reported on code.google.com by josh.coo...@gmail.com on 29 Jan 2008 at 4:00

GoogleCodeExporter commented 9 years ago
Fixed in SVN.  Changed Dispose to use new ApplicationEnd command.  This in turn 
calls
IsRunning = false.  This allows the last command to be sent before IsRunning is 
set
to false.

Original comment by josh.coo...@gmail.com on 29 Jan 2008 at 5:55

GoogleCodeExporter commented 9 years ago
Triggering an event when sending a command turns out to be a bad thing.  The 
command
is sent while a lock is held on the command list.  This should not happen since 
it
allows for the possibility of reentrency or a deadlock.

Original comment by josh.coo...@gmail.com on 14 Feb 2008 at 2:36

GoogleCodeExporter commented 9 years ago
Changed event to happen before the command is sent to the server.  So the 
application
now continues to run for a short while (with IsConnected property staying true) 
after
the Closed event.  It will process commands and events until the application 
actually
disconnects from the tivo.

Original comment by josh.coo...@gmail.com on 23 Feb 2008 at 4:44