git-time-metric / gtm-jetbrains-plugin

IntelliJ IDEA, PyCharm, WebStorm, AppCode, RubyMine, PhpStorm, AndroidStudio Plugins
MIT License
37 stars 7 forks source link

Subscribe to widget connection after install #10

Closed Querschlag closed 4 years ago

Querschlag commented 4 years ago

This fixes a crash in 193.5233.102 where using myConnection in constructor of GTMStatusWidget would cause a null pointer exception. Subscribing in install() ensures that the connection is initialized first.

I tested and verified with IntelliJ IDEA 2019.3.

mschenk42 commented 4 years ago

Thanks @Querschlag 👍