Garage & Updates

Learn about the newest features, products and client updates for all platforms

Share

A story of uninitialized variable

Screwed up with Find in chat, was fixing one thing and broke another.

The current internal chat structure as not as good as I want it to be. So in order to fix some serious crashes I need to work around existing problems in design by disabling some functionality. This time searching in chat was crashing Skype if you expanded history and tried to search while it was expanding. The workaround is easy — disable Find while history is expanding. However, with all this 100 million registered users excitement I forgot to initialize flag that enables/disables search. And now we have Find that doesn’t work until you expand history. Not Good.

Do not forget to initialize your variables! :)

And hope to see your nick along those 100M registered, or may be next 100M.

Share

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s