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

Problems using vs2019 in Release mode #13

Closed
Hurleyworks opened this issue Dec 1, 2020 · 2 comments
Closed

Problems using vs2019 in Release mode #13

Hurleyworks opened this issue Dec 1, 2020 · 2 comments

Comments

@Hurleyworks
Copy link

Hi.

Thanks for making this project and your YouTube videos available! I appreciate your efforts!!!

I am hitting a problem with cs_signal compiled with vs2019. Everything works as expected in Debug mode. But in Release mode when signals/slots have the same signature the incorrect slot can be called. . My guess is this is due to some compiler optimization.

I made a minimalist version of my project that demonstrates the problem
https://github.com/Hurleyworks/MVC

Running in Debug you can see that each signal generated by a button press goes to the correct slot. But in Release mode, if you press the Send 1 button, for example, all 4 slots with the same signature in Model get called

-Steve

@agserm
Copy link
Member

agserm commented Dec 8, 2020

We will be looking at this later in the week. Thank you for your report.

@agserm
Copy link
Member

agserm commented Jun 11, 2024

This comment was recently reviewed, unable to repeat. Please reopen with a reproduction test case if the issue still exists.

@agserm agserm closed this as completed Jun 11, 2024
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

No branches or pull requests

2 participants