mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +00:00
Kernel: Remove shadowing member variable from FileDescriptionBlocker
FileDescriptionBlocker::m_should_block was shadowing the parent's FileBlocker::m_should_block variable, which would cause should_block() to return the wrong value. Found by @gunnarbeutner
This commit is contained in:
parent
37903db2b4
commit
72a61fe137
Notes:
sideshowbarker
2024-07-18 18:41:30 +09:00
Author: https://github.com/tomuta
Commit: 72a61fe137
Pull-request: https://github.com/SerenityOS/serenity/pull/6877
1 changed files with 0 additions and 1 deletions
|
@ -559,7 +559,6 @@ public:
|
||||||
const BlockFlags m_flags;
|
const BlockFlags m_flags;
|
||||||
BlockFlags& m_unblocked_flags;
|
BlockFlags& m_unblocked_flags;
|
||||||
bool m_did_unblock { false };
|
bool m_did_unblock { false };
|
||||||
bool m_should_block { true };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class AcceptBlocker final : public FileDescriptionBlocker {
|
class AcceptBlocker final : public FileDescriptionBlocker {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue