Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default Team can't be resetted #40

Open
Jodi-Pa opened this issue Mar 2, 2024 · 3 comments
Open

Default Team can't be resetted #40

Jodi-Pa opened this issue Mar 2, 2024 · 3 comments

Comments

@Jodi-Pa
Copy link
Contributor

Jodi-Pa commented Mar 2, 2024

For more information ask Divine

@Jodi-Pa Jodi-Pa added the bug label Mar 2, 2024
@DivineThreepwood
Copy link
Member

Bug can not be reproduced on Mac OS :(

@tommy33790
Copy link
Contributor

grafik

Die Datei wird von einem "anderen" Prozess verwendet, weshalb sie nicht gelöscht werden kann.

Der "andere" Prozess ist dabei ebenso PlanetSudo:
grafik

@tommy33790
Copy link
Contributor

After further analysis, I'm guessing some file streams from loading / saving teams aren't closed correctly and thus still reference the file.
This seems to be reproducible on Windows 10 using the following steps:

  1. Make sure there's no default.team but other .team-files
  2. Start engine
  3. Choose any team and make it the new default team (by clicking Setzen in Netzwerk -> Dein Team)
  4. Check that default.team has been created on disk
  5. Reset default team via Einstellungen -> Reset Standard Team
  6. See that default.team is still on disk
  7. Check in console for error message file is being used by another process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants