-
Youness Alaoui authored
The pseudo_tcp_socket_get_next_clock returns the next clock in terms of g_get_monotonic_clock / 1000, however, it gets cropped to guint32. When we try to find the interval, by substracting the current time as a guint64, it will return a negative value, which prevents an integer overflow by setting the timeout to 0. This causes the notify_clock timeout to be called all the time by the mainloop, taking 100% of CPU.
ba4ca9ad