diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2020-03-22 10:00:29 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2020-03-22 10:00:29 +0000 |
commit | efbfaa0cb1808a3953f1595b9c5e1be9d7994469 (patch) | |
tree | b26e51d0004397a3da6a4328b2b6048175e34bad /desktop/browser_private.h | |
parent | 98e461a3b3580cfee2356459557d4f58b7db987c (diff) | |
download | netsurf-efbfaa0cb1808a3953f1595b9c5e1be9d7994469.tar.gz netsurf-efbfaa0cb1808a3953f1595b9c5e1be9d7994469.tar.bz2 |
JS: Move ownership of jsthread from browser to htmlc
Since it makes more sense for the htmlc to be responsible for
when the JS thread gets destroyed, move its lifetime from the
responsibility of the browser window to the html content.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'desktop/browser_private.h')
-rw-r--r-- | desktop/browser_private.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/desktop/browser_private.h b/desktop/browser_private.h index 89dc5cca4..ed2d845de 100644 --- a/desktop/browser_private.h +++ b/desktop/browser_private.h @@ -265,12 +265,6 @@ struct browser_window { /** current javascript context */ struct jsheap *jsheap; - /** The JS thread (if any) for the current content */ - struct jsthread *current_jsthread; - - /** The JS thread (if any) for the loading content */ - struct jsthread *loading_jsthread; - /** cache of the currently displayed status text. */ struct { char *text; /**< Current status bar text. */ |