> instead of saving the source IDs which I'd have to store to some global 
> variable

Plugins can now have associated data, so you could just store the handler ID in 
there with other plugin-wide state. In any case, I'm sure it's fine, my OCD 
just doesn't like when code doesn't undo this kind of stuff, which is why I'm 
such a big fan of C++ RAII :)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/555#issuecomment-291332222

Reply via email to