Close open prekey FD during migration.

Fixes #3696
// FREEBIE
This commit is contained in:
Moxie Marlinspike 2015-07-20 17:01:35 -07:00
parent dcc7ba20e6
commit 905b4f0a6b

View File

@ -185,6 +185,7 @@ public class TextSecurePreKeyStore implements PreKeyStore, SignedPreKeyStore {
throw new AssertionError("Migration didn't happen!");
}
fin.close();
return serializedRecord;
}