mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-24 13:35:12 +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: https://github.com/SerenityOS/serenity/commit/72a61fe1378 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;
|
||||
BlockFlags& m_unblocked_flags;
|
||||
bool m_did_unblock { false };
|
||||
bool m_should_block { true };
|
||||
};
|
||||
|
||||
class AcceptBlocker final : public FileDescriptionBlocker {
|
||||
|
|
Loading…
Add table
Reference in a new issue