Commit 6d13fec
fix(targetlist) avoid
when two worker create `checker`, `worker-0` first created and add
target success, then `worker-1` creating, when `worker-1` call
`worker_events:poll()` in line 1408, raise crash.
`self.targets` init with empty table avoid this.self.targets being nil due to async behaviour (#44)1 parent 2a0c14f commit 6d13fec
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1760 | 1760 | | |
1761 | 1761 | | |
1762 | 1762 | | |
1763 | | - | |
| 1763 | + | |
1764 | 1764 | | |
1765 | 1765 | | |
1766 | 1766 | | |
| |||
0 commit comments