Yossi Gottlieb ffe1e9107c Fix CLIENT UNBLOCK crashing modules. (#9167)
Modules that use background threads with thread safe contexts are likely
to use RM_BlockClient() without a timeout function, because they do not
set up a timeout.

Before this commit, `CLIENT UNBLOCK` would result with a crash as the
`NULL` timeout callback is called. Beyond just crashing, this is also
logically wrong as it may throw the module into an unexpected client
state.

This commits makes `CLIENT UNBLOCK` on such clients behave the same as
any other client that is not in a blocked state and therefore cannot be
unblocked.

(cherry picked from commit aa139e2f02292d668370afde8c91575363c2d611)
2021-07-21 21:06:49 +03:00
..
2020-11-09 21:48:56 -08:00
2020-04-24 17:11:21 -07:00
2019-02-24 21:38:15 +01:00
2021-04-06 12:42:18 +03:00
2020-10-27 15:04:18 +02:00
2021-02-24 10:10:02 +02:00
2020-05-05 23:35:08 -04:00
2019-11-19 17:23:47 +08:00
2019-10-02 11:30:20 +02:00
2021-04-01 12:45:15 +03:00
2021-06-01 17:03:36 +03:00
2021-01-04 17:02:57 +02:00
2021-01-28 16:19:43 +02:00
2020-07-21 08:13:05 +03:00
2021-06-01 17:03:36 +03:00