mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 02:07:39 +08:00
Graph: Avoid calling a method on null
Fixes APP-DX
This commit is contained in:
@ -188,9 +188,11 @@ class Graph extends ChangeNotifier {
|
||||
}
|
||||
|
||||
void stopLayout() {
|
||||
if (layoutTimer != null) {
|
||||
layoutTimer.cancel();
|
||||
layoutTimer = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class GraphNodeLayout {
|
||||
|
Reference in New Issue
Block a user