Repository navigation
Commit 8d64683
authored
logging: clear null trace_id (googleapis#2760)
To ThreadLocal, set(null) and remove() are functionally similar but
remove() clears out the map-entry so it's more space-efficient.
Fixes googleapis#2746.1 parent 19c22a6 commit 8d64683
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
0 commit comments