Skip to content

Commit

Permalink
Comment out @refresh_timer.invalidate in Jenx::handle_broken_connection.
Browse files Browse the repository at this point in the history
  • Loading branch information
msabramo committed Jan 31, 2012
1 parent eba174b commit c1acd5d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jenx/Jenx.rb
Expand Up @@ -110,7 +110,8 @@ def load_projects
end

def handle_broken_connection(error_type)
@refresh_timer.invalidate
# Comment out invalidate to fix issue GH-8
# @refresh_timer.invalidate
NSLog("#{CONNECTION_ERROR_TITLE}: #{error_type}")
@jenx_item.setImage(@build_failure_icon)

Expand Down Expand Up @@ -296,4 +297,4 @@ def clear_nsdefaults
NSUserDefaults.standardUserDefaults.removeObjectForKey(PREFERENCES_REFRESH_TIME_INTERVAL)
NSUserDefaults.standardUserDefaults.removeObjectForKey(PREFERENCES_MAX_PROJECTS_TO_SHOW)
end
end
end

0 comments on commit c1acd5d

Please sign in to comment.