Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b36ebcba authored by pramod kotreshappa's avatar pramod kotreshappa Committed by Steve Kondik
Browse files

Bluetooth: Fix for FileDescriptor leakage causing ANR

Fix to close the native fds gracefully. detachFD has been removed
in order to close the native fds

Change-Id: I6afca60bcf6adc82ad6a63d8706267d8ed3bd579
CRs-fixed: 623575
parent 5ecd0ed3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -524,7 +524,6 @@ public final class BluetoothSocket implements Closeable {
                    mSocket = null;
                }
                if(mPfd != null) {
                    mPfd.detachFd();
                    mPfd.close();
                    mPfd = null;
                }