Skip to content

Crash on macOS #37

@appfrilans

Description

@appfrilans

Hi,

I get a crash on macOS on the following line in AuthorizationPerformer.swift:

if await applicationStateMonitor.hasResignedActive {

changing it to the follow helps:

if let applicationStateMonitor, await applicationStateMonitor.hasResignedActive {

It seems as de delegate is called before

applicationStateMonitor = await ApplicationStateMonitor()

is completed in the start function.

Not sure why and not sure if my workaround is the best or have other side effects, but seems to work for me.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions