drtak34 / my-films

Automatically exported from code.google.com/p/my-films
0 stars 0 forks source link

When Mediaportal is shut down while MyFilms is updating DB, DB can get corrupted #183

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When MP is shut down while MyFilms is writing to the DB, the DB gets corrupted.
This is caused by writing happening not in main thread, thus not blocking it. 
We need to watch the writing thread and wait, until writing is finished before 
continuing the MP shutdown. Same applies to Standby.

Original issue reported on code.google.com by Guzz...@googlemail.com on 30 Aug 2012 at 10:39

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2469.

Original comment by Mikeplan...@web.de on 30 Aug 2012 at 10:41

GoogleCodeExporter commented 9 years ago
Not easy one to reproduce, but I have not run into it again.

Any updates I tried do not corrupt the db.  Is there a specific operation I can 
test to confirm?  For now I have verified the fix.

Original comment by Dade...@gmail.com on 30 Sep 2012 at 4:32