diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-08 14:57:17 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-08 14:57:17 +0300 |
commit | fa75afdf7d9b9036dcaa373e01250cb68176488b (patch) | |
tree | e3f9d683b1425bdb198fcba2bde21abb59234e3b /src/gmrequest.h | |
parent | 66d425de8597cd9f88a2657505b7098d02cc9617 (diff) |
Cancel GmRequest from the main thread
Doing it in the SDL timer thread causes mutex lockups.
Diffstat (limited to 'src/gmrequest.h')
-rw-r--r-- | src/gmrequest.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gmrequest.h b/src/gmrequest.h index c7d9d738..3b2ee3b3 100644 --- a/src/gmrequest.h +++ b/src/gmrequest.h | |||
@@ -39,6 +39,7 @@ iDeclareAudienceGetter(GmRequest, finished) | |||
39 | 39 | ||
40 | void setUrl_GmRequest (iGmRequest *, const iString *url); | 40 | void setUrl_GmRequest (iGmRequest *, const iString *url); |
41 | void submit_GmRequest (iGmRequest *); | 41 | void submit_GmRequest (iGmRequest *); |
42 | void cancel_GmRequest (iGmRequest *); | ||
42 | 43 | ||
43 | iBool isFinished_GmRequest (const iGmRequest *); | 44 | iBool isFinished_GmRequest (const iGmRequest *); |
44 | enum iGmStatusCode status_GmRequest (const iGmRequest *); | 45 | enum iGmStatusCode status_GmRequest (const iGmRequest *); |