michelf / sim-daltonism

A color blindness simulator for Mac and iOS
258 stars 18 forks source link

unhideOnNextDisplay used by two threads without synchronization #23

Open michelf opened 3 years ago

michelf commented 3 years ago

Two threads are accessing unhideOnNextDisplay in FilteredView.swift without proper synchronization. Even though it seems work, it is theoretically undefined behavior and should be fixed.