Permalink
Browse files

Merge pull request #34 from msabramo/issue-8

Fix GH-8: Comment out @refresh_timer.invalidate in Jenx::handle_broken_connection.
  • Loading branch information...
2 parents eba174b + c1acd5d commit e7d0dd9b9ce6ace7e531ca53fdb58432f79682d8 @msabramo committed Jan 31, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 jenx/Jenx.rb
View
@@ -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)
@@ -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 e7d0dd9

Please sign in to comment.