Skip to content

Commit

Permalink
Fix crash report dialog not locked
Browse files Browse the repository at this point in the history
  • Loading branch information
robertodoering committed Nov 10, 2019
1 parent 276b6a5 commit 31063d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/core/misc/harpy_error_handler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ class HarpyErrorHandler {
return;
}

_lastReportTime = DateTime.now();

if (kReleaseMode) {
// this await fixes an error when showing dialog in the same frame when
// the error is thrown during a navigation
Expand Down

0 comments on commit 31063d6

Please sign in to comment.