ericcornelissen / NervousFish

An app for your :iphone: to exchange public-keys in a secure manner.
GNU Lesser General Public License v3.0
2 stars 4 forks source link

Fix cancel methods in the Bluetooth threads #197

Closed jverbraeken closed 7 years ago

jverbraeken commented 7 years ago

User story

As a developer I want that the cancel buttons in the Bluetooth threads cancel the thread so that threads can be cancelled to prevent unnecessary threads from existing

What

This issue demands to let the cancel methods work but that they do only close the socket if they don't disconnect the user from his connection if that shouldn't be so

Why

This issue is needed for the project because unnecessary threads have overhead and hard-to-solve consequences because they still do some work in the background

How

This feature can be added by rewriting the cancel methods

Definition of ready

This features is not ready until the following issues are finished:

Definition of done

This task can be considered done when

Notes