Close open prekey FD during migration.

Fixes #3696
// FREEBIE
pull/1/head
Moxie Marlinspike 10 years ago
parent dcc7ba20e6
commit 905b4f0a6b

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

Loading…
Cancel
Save