In caching of default mode, fixing a bug where the wrong mode was returned.
Now:
- we return the cached mode only if the default mode was asked
- we chack that the cached mode is actually of the right class
(because config.mode can change during the execution).
正在显示
请
注册
或者
登录
后发表评论