Browse Source
It can be considered a programming error to create a Future<T> but do nothing with that object. There is an async computation happening and without holding and checking the Future for done or exception the caller has no idea if it has completed. FS doesn't really care about these StreamGobblers finishing. Instead use Runnable with execute(Runnable), which doesn't return a Future. Change-Id: I93b66d1f6c869e66be5c1169d8edafe781e601f6stable-4.7
Shawn Pearce
8 years ago
committed by
Matthias Sohn
1 changed files with 15 additions and 12 deletions
Loading…
Reference in new issue