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

Detecting images in clipboard is throwing errors in console #6

Open
amjith opened this issue Aug 1, 2016 · 0 comments
Open

Detecting images in clipboard is throwing errors in console #6

amjith opened this issue Aug 1, 2016 · 0 comments
Labels

Comments

@amjith
Copy link

amjith commented Aug 1, 2016

When there is no image in the clipboard this line to detect if the image is empty is causing a possible memory leak. This also results in printing of an error to the electron console.

https://github.com/tinytacoteam/zazu-clipboard/blob/master/src/monitor.js#L24

016-07-31 22:05:28.037 Electron Helper[2001:3225347] Can't allocate a new block for a pasteboard. Creation of a new Pasteboard will fail.
2016-07-31 22:05:28.145 Electron Helper[2001:3225347] Can't allocate a new block for a pasteboard. Creation of a new Pasteboard will fail.
2016-07-31 22:05:28.254 Electron Helper[2001:3225347] Can't allocate a new block for a pasteboard. Creation of a new Pasteboard will fail.
2016-07-31 22:05:28.363 Electron Helper[2001:3225347] Can't allocate a new block for a pasteboard. Creation of a new Pasteboard will fail.
2016-07-31 22:05:28.474 Electron Helper[2001:3225347] Can't allocate a new block for a pasteboard. Creation of a new Pasteboard will fail.
2016-07-31 22:05:28.583 Electron Helper[2001:3225347] Can't allocate a new block for a pasteboard. Creation of a new Pasteboard will fail.
2016-07-31 22:05:28.691 Electron Helper[2001:3225347] Can't allocate a new block for a pasteboard. Creation of a new Pasteboard will fail.
2016-07-31 22:05:28.797 Electron Helper[2001:3225347] Can't allocate a new block for a pasteboard. Creation of a new Pasteboard will fail.
@bayleedev bayleedev added the bug label Aug 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants