felixge / felixge/node-ar-drone

Cannot release client / create two localized clients

Offen
#104 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
1.8k
Forks
427
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I am creating a new client and a new pngStream on it. I have another function that needs only the client object and needs to shut off the pngStream. I cant create another client, unless I dispose off the initial client. How do I do that? Or any of the above?

The issue I'm facing is that, whenever the pngStream throws an error and attempt to restart every second (Client.js: line 72) I can't get it to break that loop and notify me of the error, the control never gets back to me. If I set the client object to null and create another instance (client = arDrone.createClient()), the new object does not have the drone control either.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.