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

Handle multiple FabricLoaderLauncherSessionListener instances. #1003

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

modmuss50
Copy link
Member

@modmuss50 modmuss50 commented Nov 30, 2024

It seems that the VSCode test runner will create multiple FabricLoaderLauncherSessionListener instances. We can only ever have one Knot instance so store it statically.

TODO test:

  • Gradle
  • Gradle via Intelij
  • Intelij (without Gradle)
  • VSCode
  • Eclipse (didnt work last I tried, but it might now)

It seems that the VSCode test runner will create multiple FabricLoaderLauncherSessionListener instances. We can only ever have one Knot instance so store it statically.
@haykam821
Copy link
Contributor

Visual Studio Code now works for running tests with these changes applied. This pull request will close #1000.

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

Successfully merging this pull request may close these issues.

2 participants