Posted 13 October 2014 - 12:11 PM
VERSION: 1.65
DESCRIPTION:
If a peripheral is attached to a computer using a cable + modems and then broken, the computer still sees a ghost peripheral attached.
EXPECTED RESULT:
REPRODUCTION STEPS:
1) Attach computer to peripheral using a cable and 2 modems
2) Activate modems
3) Access peripheral from the computer
4) Break peripheral
SCREENSHOT/VIDEO:

DESCRIPTION:
If a peripheral is attached to a computer using a cable + modems and then broken, the computer still sees a ghost peripheral attached.
- No peripheral_detach event fires
- The peripheral will is still listed in getNames
- A reference to the IPeripheral instance is kept
- Calling methods on the peripheral will cause either "Java exception thrown" error or weird behavior
EXPECTED RESULT:
- peripheral_detach should fire when the peripheral is broken
- Any references to IPeripheral instance should be removed (allowing GC to collect it)
REPRODUCTION STEPS:
1) Attach computer to peripheral using a cable and 2 modems
2) Activate modems
3) Access peripheral from the computer
4) Break peripheral
SCREENSHOT/VIDEO:

Edited on 13 October 2014 - 10:12 AM