Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gui.App.clearCache() freez apllication nwjs 0.18.0 #5368

Closed
rudzikdawid opened this issue Oct 17, 2016 · 5 comments
Closed

gui.App.clearCache() freez apllication nwjs 0.18.0 #5368

rudzikdawid opened this issue Oct 17, 2016 · 5 comments
Assignees

Comments

@rudzikdawid
Copy link

rudzikdawid commented Oct 17, 2016

Fedora 24
nwjs 0.18.0
Ctrl+Shift+C indeed deleted the cache files but also freez applications
Any idea how fix it?

with nwjs 0.17.6 works like charm

const gui = window.require('nw.gui');

var clearCache = {
    key : "Ctrl+Shift+C",
    active : function() {
        gui.App.clearCache();
    },
    failed : function(msg) {
        console.log(msg);
    }
};

var clearCacheShortcut = new gui.Shortcut(clearCache);

gui.App.registerGlobalHotKey(clearCacheShortcut);
@AshleyScirra
Copy link

This appears to be what breaks Construct 2 games in 0.18.0.

@rogerwang
Copy link
Member

This is fixed in git and will be available in the next nightly build.

@AshleyScirra
Copy link

Thanks for the quick fix. Do you think this justifies a .1 release? I feel a bit nervous about sending out a nightly build to production.

@rogerwang
Copy link
Member

Yeah. There's 0.18.1 scheduled tomorrow.

On Mon, Oct 17, 2016, 9:52 PM Ashley (Scirra) [email protected]
wrote:

Thanks for the quick fix. Do you think this justifies a .1 release? I feel
a bit nervous about sending out a nightly build to production.


You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub
#5368 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAKGGU-E0FgC1toF9oO7vfUPq2JsEWcvks5q0321gaJpZM4KYaLj
.

@AshleyScirra
Copy link

Awesome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants