mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 18:21:16 -03:00
Remove needs_polling from universal_notifier_t. Add some expository
comments.
This commit is contained in:
@@ -2248,7 +2248,7 @@ static void test_universal()
|
||||
bool poll_notifier(universal_notifier_t *note)
|
||||
{
|
||||
bool result = false;
|
||||
if (note->needs_polling())
|
||||
if (note->usec_delay_between_polls() > 0)
|
||||
{
|
||||
result = note->poll();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user