{"action":"created","issue":{"url":"https://api.github.com/repos/cronvel/freedesktop-notifications/issues/3","repository_url":"https://api.github.com/repos/cronvel/freedesktop-notifications","labels_url":"https://api.github.com/repos/cronvel/freedesktop-notifications/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/cronvel/freedesktop-notifications/issues/3/comments","events_url":"https://api.github.com/repos/cronvel/freedesktop-notifications/issues/3/events","html_url":"https://github.com/cronvel/freedesktop-notifications/issues/3","id":366207024,"node_id":"MDU6SXNzdWUzNjYyMDcwMjQ=","number":3,"title":"Scripts won't terminate automatically","user":{"login":"zawata","id":6119870,"node_id":"MDQ6VXNlcjYxMTk4NzA=","avatar_url":"https://avatars1.githubusercontent.com/u/6119870?v=4","gravatar_id":"","url":"https://api.github.com/users/zawata","html_url":"https://github.com/zawata","followers_url":"https://api.github.com/users/zawata/followers","following_url":"https://api.github.com/users/zawata/following{/other_user}","gists_url":"https://api.github.com/users/zawata/gists{/gist_id}","starred_url":"https://api.github.com/users/zawata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zawata/subscriptions","organizations_url":"https://api.github.com/users/zawata/orgs","repos_url":"https://api.github.com/users/zawata/repos","events_url":"https://api.github.com/users/zawata/events{/privacy}","received_events_url":"https://api.github.com/users/zawata/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-10-03T07:25:15Z","updated_at":"2018-11-23T09:09:35Z","closed_at":null,"author_association":"NONE","body":"I haven't seen this issue reported by anyone anywhere else so i think it may be my system. \r\n\r\nI'm running ubuntu budgie which itself already has issues with the freedesktop notification spec(ie. urgencies are ignored on notifications).\r\n\r\nBasically the script won't terminate after completion, it appears to soft lock somewhere in the  v8 engine(even the debugging engine can't single step. It wont re-enter any js code, not even the tick functions) \r\n\r\nThe issue seems to be tied to dbus connections being that they don't close themselves automatically(or at least I would assume they are supposed to), and therefore starting a connection will lock the node runtime until said connection is closed. This can be accomplished by calling `sessionBus.connection.end();` I could be able to do this from the outside the library except the sessionBus variable inst exported, making it much more difficult to access.\r\n\r\nAs I type this out I'm thinking I may have to make an issue with dbus-native instead. I just wanted to post it for opinions."},"comment":{"url":"https://api.github.com/repos/cronvel/freedesktop-notifications/issues/comments/441186599","html_url":"https://github.com/cronvel/freedesktop-notifications/issues/3#issuecomment-441186599","issue_url":"https://api.github.com/repos/cronvel/freedesktop-notifications/issues/3","id":441186599,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTE4NjU5OQ==","user":{"login":"cronvel","id":6891714,"node_id":"MDQ6VXNlcjY4OTE3MTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/6891714?v=4","gravatar_id":"","url":"https://api.github.com/users/cronvel","html_url":"https://github.com/cronvel","followers_url":"https://api.github.com/users/cronvel/followers","following_url":"https://api.github.com/users/cronvel/following{/other_user}","gists_url":"https://api.github.com/users/cronvel/gists{/gist_id}","starred_url":"https://api.github.com/users/cronvel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cronvel/subscriptions","organizations_url":"https://api.github.com/users/cronvel/orgs","repos_url":"https://api.github.com/users/cronvel/repos","events_url":"https://api.github.com/users/cronvel/events{/privacy}","received_events_url":"https://api.github.com/users/cronvel/received_events","type":"User","site_admin":false},"created_at":"2018-11-23T09:09:35Z","updated_at":"2018-11-23T09:09:35Z","author_association":"OWNER","body":"@hash-bang Ah I get it... In fact everything is working.\r\nSimply, Gnome does not send any event when the notification time out.\r\nThat's it: if the user close the pop up the close event is sent, but if Gnome suppress the notification because the user is AFK for example, no close event is sent.\r\n\r\nSo you have to wait for 30 seconds before the clean up... Those notification servers are really terrible... :/"}}
{"actor":{"display_login":"cronvel"}}