Giter Club home page Giter Club logo

Comments (5)

alastor0325 avatar alastor0325 commented on July 19, 2024

I've committed 04f58a1 and a49276b to ensure we would clean up all stuff and uninstall itself when the study ends.

However, the uninstalling process couldn't be tested on about:addon, because the uninstalling process of shield-study addons is different with the process of normal addons. For normal add-ons, we use addon manager to uninstall them which won’t give addons any time to do clean-up when uninstalling them.

That is the reason why uninstallation would fail on this bug, because the extension had been destroyed before we called cleanup(), and then it results in errors in cleanup() so that we can't uninstall the addon correctly.

However, in a real situation, we would uninstall shield-study addons by Normandy, which would give shield-study addons enough time to do clearup() before uninstallation.

from autoplay-shield-study.

alastor0325 avatar alastor0325 commented on July 19, 2024

In addition, I've asked the shield-study team, they told me that now they didn't have any way to test the uninstalling process of shield study...

from autoplay-shield-study.

Softvision-RemusDranca avatar Softvision-RemusDranca commented on July 19, 2024

Our concern is that there is the possibility of Normandy failing on the study expiry step, since we don't have any control over this. If possible, we think it would be better for everyone to implement an expiry date based on the installation time as a fail safe mechanism.
These dual checks were already implemented on most of the studies tested by the team until now and worked perfectly.

However, if you guys don't see this as a problem / risk, please let us know so we won't invest any testing time on this part.

from autoplay-shield-study.

alastor0325 avatar alastor0325 commented on July 19, 2024

@Softvision-RemusDranca Ah, I think I found where the problem is, it's fixed by 74228da.

Thank you!

from autoplay-shield-study.

Softvision-RemusDranca avatar Softvision-RemusDranca commented on July 19, 2024

I have verified this issue using the latest Block Autoplay (2.0.0) version and the issue is no longer reproducible. Tested on Windows 10 x64, Mac 10.13 and Ubuntu 18.04 x64.
Thank you for fixing this!

from autoplay-shield-study.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.