Skip to content

Commit

Permalink
Stop sending progress bar updates when finished
Browse files Browse the repository at this point in the history
  • Loading branch information
tcstewar committed May 30, 2018
1 parent a06d7c4 commit ce49e8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nengo_gui/components/progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def update_client(self, client):
'finished': self.progress.finished,
'success': self.progress.success
}))
if self.progress.finished:
self.progress = None

def javascript(self):
info = dict(uid=id(self))
Expand Down

0 comments on commit ce49e8e

Please sign in to comment.