Commit 4fb84d0
committed
fix(extension): return true from message listener to keep channel open
- Chrome extensions require return true when using sendResponse asynchronously
- Without it, message channel closes immediately causing chrome.runtime.lastError
- Fixes bug introduced in commit 155a07c where refactor removed the return statement1 parent ca7a516 commit 4fb84d0
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
0 commit comments