Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Conversation

@emersion
Copy link
Member

@ddevault
Copy link
Contributor

Why are static analysis failures non-fatal?

wlr_log(WLR_ERROR, "failed to start backend '%s'", name);
wlr_backend_destroy(backend);
wlr_session_destroy(multi->session);
wlr_backend_destroy(backend);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think that will work as backends (see drm) might expect the session they were created with to be valid on destruction. Probably best to use a separate session variable instead of multi->session so we can keep the destruction order as it was (Was probably my oversight in the first place, sry). Other places as well.

@agx
Copy link
Contributor

agx commented Oct 13, 2018

@SirCmpwn I guess due to mesonbuild/meson#4334

@ddevault ddevault merged commit e0cf97d into swaywm:master Oct 21, 2018
@ddevault
Copy link
Contributor

Thanks!

@emersion emersion deleted the static-analysis branch January 18, 2019 13:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants