mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
In delayed_goto, do not load the page if the doc_view has changed since
the delayed_goto was registered. This fixes bug 611, the infinite loop on Gmane.
This commit is contained in:
parent
92c9b86374
commit
62de7cc750
@ -206,7 +206,8 @@ delayed_goto(void *data)
|
||||
struct delayed_goto *deg = data;
|
||||
|
||||
assert(deg);
|
||||
if (deg->vs->doc_view) {
|
||||
if (deg->vs->doc_view
|
||||
&& deg->vs->doc_view == deg->vs->doc_view->session->doc_view) {
|
||||
goto_uri_frame(deg->vs->doc_view->session, deg->uri,
|
||||
deg->vs->doc_view->name,
|
||||
CACHE_MODE_NORMAL);
|
||||
|
Loading…
Reference in New Issue
Block a user