×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Oct 2004
    Posts
    158

    Does socket.bt_discover() release its resources?

    The following snippet presents the user with a list of Bluetooth devices to choose from:

    Code:
    btAddress, services = socket.bt_discover()
    Users can cancel this dialog, but when they do, not all resources are cleaned up properly. You can tell by the error 'Program closed: python' that shows up when they exit Python. It looks as if the Bluetooth discovery continues in the background, even though the user canceled the action.

  2. #2
    Regular Contributor
    Join Date
    Oct 2004
    Posts
    158

    Re: Does socket.bt_discover() release its resources?

    One more thing I noticed: if I restart the application immediately after closing it reconnecting to the Bluetooth device fails with the following error details: (17, 'File exists'). What does that mean?

Similar Threads

  1. upgrading to symbian series 60 release 2
    By umeshkchotani in forum General Development Questions
    Replies: 3
    Last Post: 2005-01-24, 15:40
  2. PANIC CONE 8 --> What resources?
    By lazmous in forum Symbian
    Replies: 2
    Last Post: 2004-12-23, 12:28
  3. NetBeans 4.1 Early Access Release Now Available
    By rdemmer in forum Mobile Java General
    Replies: 0
    Last Post: 2004-10-22, 14:52
  4. When to Release Resources
    By earamsey in forum Mobile Java General
    Replies: 0
    Last Post: 2004-06-20, 02:40
  5. correct way to release all resources
    By gpg15600 in forum Mobile Java General
    Replies: 10
    Last Post: 2003-04-23, 09:10

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×