Skip to content

Commit

Permalink
remove client initialised check from session tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
fractalwrench committed May 3, 2018
1 parent eb3501f commit 7d5974e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions sdk/src/main/java/com/bugsnag/android/SessionTracker.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,6 @@ private void trackSessionIfNeeded(final Session session) {
Async.run(new Runnable() {
@Override
public void run() {

if (!client.clientInitialised) { // store
sessionStore.write(session);
return;
}

//FUTURE:SM It would be good to optimise this
flushStoredSessions();

Expand Down

0 comments on commit 7d5974e

Please sign in to comment.