Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

Commit

Permalink
remove useless useRethink flag from android target
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpsantiago committed Mar 19, 2019
1 parent ff8f91b commit 339642d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/target/java_android.cr
Original file line number Diff line number Diff line change
Expand Up @@ -751,11 +751,6 @@ END
final TimerTask task = new TimerTask() {
@Override
public void run() {
#{String.build do |io|
unless @ast.options.useRethink
io << "\n timer.cancel();"
end
end}
sentCount[0] += 1;
if (sentCount[0] >= 22 || (sentCount[0] * 2000) >= http.connectTimeoutMillis()) {
if (!shouldReceiveResponse[0]) return;
Expand Down

0 comments on commit 339642d

Please sign in to comment.