getChannelClassName fail if channel detached

Supporting 2.7 and 3.2+
Post Reply
Nadav
Phidgetsian
Posts: 11
Joined: Fri Jan 13, 2017 1:50 am
Contact:

getChannelClassName fail if channel detached

Post by Nadav »

getChannelClass succeeds even if channel is detached.
But getChannelClassName fails if channel is detached.
Is this by design?

(yes, I can use just ChannelClass, but the code and logs are more readable using ChannelClassName)
User avatar
Patrick
Lead Developer
Posts: 634
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: getChannelClassName fail if channel detached

Post by Patrick »

Channel class name is just a String which gets looked up with the channel class.

I'm removing the attached check from the library for next release.

-Patrick
Nadav
Phidgetsian
Posts: 11
Joined: Fri Jan 13, 2017 1:50 am
Contact:

Re: getChannelClassName fail if channel detached

Post by Nadav »

Thanks so much!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests