novasamatech / parity-signer

Air-gapped crypto wallet.
https://www.parity.io/signer/
GNU General Public License v3.0
550 stars 163 forks source link

KeepScreenOn() may potentially stuck #2381

Open Dmitry-Borodin opened 3 months ago

Dmitry-Borodin commented 3 months ago

make KeepScreenOn() with a counter similar to DisableScreenshots() as new screen's disposable may be started before old screen's onDispose() Now it is possible that screenshots will stay forbidden where they should be already allowed.