HICalSoft / OpenAdhan

Open Source Adhan Application for Windows
GNU General Public License v3.0
6 stars 1 forks source link

Sleeping/Waking the Computer Doesn't Reset Adhan Timers Causing Incorrect Adhan Times #1

Closed iysaleh closed 5 months ago

iysaleh commented 5 months ago

If you're running OpenAdhan and put the computer to sleep, the timers freeze.

When the computer wakes up, the timers resume exactly where they were left off, and don't reset for the time-shift after the sleep.

This causes incorrect adhan times.

To correct this, OpenAdhan must trigger the necessary functions on wake-up events to reset the timers.

iysaleh commented 5 months ago

Fixed here: https://github.com/HICalSoft/OpenAdhan/commit/0c8cf1ee1d83fac4008e1cc466c8ae4ec18a5fd9 Published in V1.0.3