Skip to content

Commit

Permalink
Fix yet another unity screw-up
Browse files Browse the repository at this point in the history
  • Loading branch information
radistmorse committed Feb 19, 2017
1 parent 33cd900 commit 375e1a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions UI/PagerControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public void SetPagerControl(IPagerControl pagerControl) {
}

public void OnDestroy () {
m_Chooser.Hide ();
m_pagerControl.deregisterUpdateAction (updatePagerValues);
m_pagerControl = null;
}
Expand Down
1 change: 1 addition & 0 deletions UI/SaverControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public void SetControl (ISaverControl saverControl) {
}

public void OnDestroy () {
m_Chooser.Hide ();
m_saverControl = null;
}

Expand Down

0 comments on commit 375e1a6

Please sign in to comment.