ignore errors caused by flutter bug
This commit is contained in:
parent
1d2c6ff02e
commit
84aad2efbf
1 changed files with 5 additions and 1 deletions
|
|
@ -45,7 +45,11 @@ New Value: ${newValue is AsyncData ? newValue.value : newValue}
|
|||
}
|
||||
|
||||
void showError(Object error, [StackTrace? stackTrace]) {
|
||||
if (error.toString().contains("'_nextFrame != null': is not true.")) {
|
||||
// Harmless Flutter race in animated images (the assert in debug, a null check in release)
|
||||
if (error.toString().contains("'_nextFrame != null': is not true.") ||
|
||||
stackTrace.toString().contains(
|
||||
"MultiFrameImageStreamCompleter._handleAppFrame",
|
||||
)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue