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

RawSignal.Multiply is 0 when doing plugin initialization, it must not be used to do divisions #39

Merged
merged 1 commit into from
Jan 3, 2022

Conversation

obones
Copy link
Contributor

@obones obones commented May 19, 2021

This happens via PluginInitCall and so we must not use its value to perform "const" computation.

This leads to crashes when the image is built in debug mode.

…itCall and so we must not use its value to perform "const" computation.

This leads to crashes when the image is built in debug mode.
@cpainchaud
Copy link
Owner

Bonjour @obones,

ne penses-tu pas qu'il faudrait plutot revoir le code en amont : y'a-t-il un intérêt à appeler PluginInitCall tout court? Je n'ai pas/peu identifié de code parculier d'initialisation de plugins, et toi ?

@obones
Copy link
Contributor Author

obones commented May 25, 2021

Ah bah j'ai un gros doute sur son utilité effectivement, je n'ai pas vu de tel plugin non plus. Mais en l'état, je suis allé au moins intrusif sur le coeur de l'appli

@Adesin-fr Adesin-fr mentioned this pull request Aug 30, 2021
@obones obones mentioned this pull request Aug 30, 2021
@cpainchaud cpainchaud merged commit 90f5588 into cpainchaud:master Jan 3, 2022
@obones obones deleted the PluginsInit branch February 21, 2023 15:00
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