Skip to content

No control over runloop modes #3

@DavidPhillipOster

Description

@DavidPhillipOster

The code as I write this, creates the internalTimer with scheduledTimer(). on macOS, that means the timer won't run when the mouse is down in a menu item or other tracking loop. Instead, create the timer unscheduled, and schedule it on the runloop with the correct mode. See NSRunLoop's add(timer: mode:)

At least there should be a comment warning programmers of the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions