flutter: devmode: No need to throw exception when shutdown (2)
This commit is contained in:
parent
bc115a20e8
commit
8a7b575952
|
@ -417,9 +417,9 @@ class _GamePageState extends State<GamePage> with RouteAware {
|
|||
showTip(S.of(context).timeout);
|
||||
}
|
||||
|
||||
if (Config.developerMode) {
|
||||
assert(false);
|
||||
}
|
||||
//if (Config.developerMode) {
|
||||
//assert(false);
|
||||
//}
|
||||
return;
|
||||
default:
|
||||
showTip('Error: ${response.type}');
|
||||
|
|
Loading…
Reference in New Issue