octgn / OCTGN

Online Card and Tabletop Gaming Network
http://www.octgn.net
Other
357 stars 129 forks source link

Uninstalling games often requires restarting OCTGN #2091

Closed Wirox closed 3 years ago

Wirox commented 3 years ago

In some situations games cannot be uninstalled until OCTGN is restarted. Attempting to uninstall results in the following error:

Could not uninstall the game. Please try exiting all running instances of OCTGN and try again. You can also try switching feeds, and then switching back and try again.

Steps to reproduce the issue:

  1. Start OCTGN.
  2. Install 'Arkham Horror - The Card Game' (the issue isn't exclusive to this game, but I haven't been able to reproduce the issue with some other games)
  3. Open a lobby for Arkham Horror and start the game.
  4. Leave the game.
  5. Try to uninstall the game – this should result in the aforementioned error.
  6. After restarting OCTGN the game can be uninstalled without problems.
brine commented 3 years ago

can you check the actual game database and see if any parts of the game actually got deleted during the uninstall attempt?

brine commented 3 years ago

I just tested this and it looks like the game board image gets locked after playing the game, giving an IOException when trying to uninstall it.