After flutter closes an interface, there is still network request processing

After closing an interface, although there are network requests or delay processing in dispose in the code, these codes will still be executed immediately after closing the interface, but because the interface is closed and the context has been destroyed, some interface operations cannot be executed For example, it is not allowed to jump to another interface after dispose in this interface, because the context has been destroyed. In short, the code can be executed, but the processing of the interface in the code cannot be executed.

おすすめ

転載: blog.csdn.net/weixin_44911775/article/details/130953496