Conflict between Extensions
Hi all,
I have a persistent problem which I am not able to solve. I have developed two extensions which now sit on my workspace the whole time.
They are separate extensions, they don't communicate with each other. However, I've had a weird issue with one extension sometimes reading the other extension license key instead of its own (but they use different folders!), then returning an alert and loading the extension as if the License Key were wrong (which is correct).
I'm not sure what the reason was, but I renamed some jsx functions so they have different names plus I removed the folder object on each jsx file from being a global variable and I've put that into a function instead.
It worked but still I don't get why it happened. Anyway, let's move on...
There is still one issue going on and I think its related to the problem above. If I close one of these two extensions, it could happen that the other extension panel becomes empty. No buttons, nothing. And the only way at this point is to close the second one too, then reopen both. And this is too weird.
The two extensions have different data folders, different names, they listen to different events, all the names in the manifest files are different. Why does that happen?
Moreover, if I quit Overlord, which is another extension and not one of mine, it might also cause one of my two extensions to go empty.
Any ideas?
