nearby-sharing / android

Share files between android and PC via the Windows 10 / 11 built-in sharing functionality (Project Rome)
https://nearshare.shortdev.de
GNU General Public License v3.0
646 stars 33 forks source link

Handle `BluetoothServerSocket` close #145

Closed sentry-io[bot] closed 2 months ago

sentry-io[bot] commented 3 months ago

Sentry Issue: ANDROID-1D

Java.IO.IOException: read failed, socket might closed or timeout, read ret: -1
  ?, in JniObjectReference InstanceMethods.CallObjectMethod(JniObjectReference instance, JniMethodInfo method, JniArgumentValue* args)
  ?, in JniObjectReference JniInstanceMethods.InvokeAbstractObjectMethod(string encodedMember, IJavaPeerable self, JniArgumentValue* parameters)
  ?, in async Task AndroidBluetoothHandler.ListenRfcommAsync(RfcommOptions options, CancellationToken cancellationToken)
...
(1 additional frame(s) were not displayed)

System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.
sentry-io[bot] commented 3 months ago

Sentry Issue: ANDROID-3M