mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
flush() explicitly before close() - although, the docs says other, there is a difference eg. on android7/motog and data are not ready without flush() when read from another thread
This commit is contained in:
@@ -178,6 +178,7 @@ public class Util {
|
||||
}
|
||||
|
||||
in.close();
|
||||
out.flush();
|
||||
out.close();
|
||||
|
||||
return total;
|
||||
|
||||
Reference in New Issue
Block a user