mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
LibWeb: Remove SessionHistoryTraversalQueue::process()
...because existance of this method conflicts with the purpose of having a queue as it allows to start executing next task in the middle of ongoing task. For example: 1. SHTQ timer starts executing a task. 2. Task does SHTQ::process(). Another example: 1. SHTQ::process() start executing a task. 2. task does SHTQ::process().
This commit is contained in:
parent
11011cf250
commit
00531573a4
Notes:
sideshowbarker
2024-07-16 21:51:02 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 00531573a4
Pull-request: https://github.com/SerenityOS/serenity/pull/23853
3 changed files with 0 additions and 18 deletions
|
@ -57,14 +57,6 @@ public:
|
|||
return index.has_value() ? m_queue.take(*index) : SessionHistoryTraversalQueueEntry {};
|
||||
}
|
||||
|
||||
void process()
|
||||
{
|
||||
while (m_queue.size() > 0) {
|
||||
auto entry = m_queue.take_first();
|
||||
entry.steps();
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
Vector<SessionHistoryTraversalQueueEntry> m_queue;
|
||||
RefPtr<Core::Timer> m_timer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue