mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
Remove bogus assertions: content handlers which spawn fetches may not transition out of the LOADING state until after the fetches have completed.
svn path=/trunk/netsurf/; revision=11860
This commit is contained in:
parent
abbf958b4c
commit
8d13c93c89
@ -697,13 +697,6 @@ void content_convert(struct content *c)
|
||||
content_set_ready(c);
|
||||
content_set_done(c);
|
||||
}
|
||||
|
||||
/* After conversion, the content must be in error or either the
|
||||
* READY or DONE state and must not be locked */
|
||||
assert(c->status == CONTENT_STATUS_READY ||
|
||||
c->status == CONTENT_STATUS_DONE ||
|
||||
c->status == CONTENT_STATUS_ERROR);
|
||||
assert(c->locked == false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user