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

Move config settings and checks to related module #178

Merged
merged 1 commit into from
May 29, 2024

Conversation

worron
Copy link
Collaborator

@worron worron commented May 18, 2024

This PR addresses #177.

Was found that sometimes calling main plugin class PankuConsolePlugin from config module lead to fails in runtime. Happened in exported project reliably and in editor randomly, but later hard to reproduce. As fast solution I tried to move config related code to PankuConfig module and call it from plugin module, and seems it woks fine.

Not sure if it's optimal solution but still suggesting to use it as quick fix.

Move some config constants and functions from main plugin module
to settings module. This should help with some glitches when
settings module can't call main plugin module in runtime.
@worron
Copy link
Collaborator Author

worron commented May 18, 2024

@TheContainer, Can you give it a test please?

@TheContainer
Copy link

TheContainer commented May 19, 2024

@TheContainer, Can you give it a test please?

I ran multiple tests I created earlier where the errors occurred, and every test worked fine.
So it works for me 👍

@Ark2000 Ark2000 merged commit b6c6574 into Ark2000:master May 29, 2024
@Ark2000
Copy link
Owner

Ark2000 commented May 29, 2024

Sorry for the late reply, I tested it and it works fine for me.

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.

3 participants