diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-07 13:32:53 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-07 13:32:53 +0200 |
commit | e9b29fb71df2096342b4560e56491212e6137b00 (patch) | |
tree | 602d5817d4ba3d6ab86ca6a5ead969c7d00e62f7 /src/ui/window.c | |
parent | a6eddbadc94f678cab96dc99a438d08ff9081502 (diff) |
Multithreading issues
It was possible that the window was accessed from a background request
`postCommand` before the window was created. The CA file/path from
preferences must be set before TlsRequest is used.
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 19290ee5..038d72af 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -1833,6 +1833,7 @@ uint32_t frameTime_Window(const iWindow *d) { | |||
1833 | } | 1833 | } |
1834 | 1834 | ||
1835 | iWindow *get_Window(void) { | 1835 | iWindow *get_Window(void) { |
1836 | /* TODO: This should be thread-specific. */ | ||
1836 | return theWindow_; | 1837 | return theWindow_; |
1837 | } | 1838 | } |
1838 | 1839 | ||