Release a thread safe context. */
| 5923 | |
| 5924 | /* Release a thread safe context. */ |
| 5925 | void RM_FreeThreadSafeContext(RedisModuleCtx *ctx) { |
| 5926 | moduleAcquireGIL(false /*fServerThread*/); |
| 5927 | moduleFreeContext(ctx); |
| 5928 | moduleReleaseGIL(false /*fServerThread*/); |
| 5929 | zfree(ctx); |
| 5930 | } |
| 5931 | |
| 5932 | |
| 5933 | /* Acquire the server lock before executing a thread safe API call. |
nothing calls this directly
no test coverage detected