Qingwei Li
Qingwei Li
Since #1753 has so many comments about `BadCredentialsException`, is it possible to add some tips when raising the exception? For example, add a link to the issue or suggest some...
add documentations for easier root cause localization. Summary for #1753 and #2955
Although #297 uses `isFirstImport` to avoid repeating problem, the repeating problem when importing **from another computer** still exists when the note has been synced through git. `isFirstImport` in zotero data...
Dear developers, I used a self-written code linter to check the project and discovered a potential memory leak issue. In the following code, before the slice expression `db.imm[1:]`, the elements...
### Describe the bug Dear developers, I used a self-written code linter to check the project and discovered a potential memory leak issue. In the following code, before the slice...
### Prerequisites - [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) and found no answer - [X] I have searched other issues and found no duplicates - [X] I want...
我最近在使用一个自行编写的linter分析这个仓库,发现了一个可能由于切片表达式导致内存泄漏的代码片段。在下面的代码中,`player.queue = player.queue[1:]`这个切片表达式和赋值之前,没有对`player.queue[0]`元素设置为nil,这可能导致`player.queue[0]`所指向的对象始终被`player.queue`所指向的底层数组所引用,无法被垃圾收集器及时回收。如果`player.queue`是一个长生命期的对象,即一个需要在执行中长时间存在,那么这就有可能导致内存泄漏。 https://github.com/EasyDarwin/EasyDarwin/blob/81758d8f73eccf3be8cd6030209537dcab3a0cfe/rtsp/player.go#L50 ```go if oldLen := len(player.queue); player.queueLimit > 0 && oldLen > player.queueLimit { player.queue = player.queue[1:] if player.debugLogEnable { len := len(player.queue) logger.Printf("Player %s, QueueRTP, exceeds...
use href for external link. The Text object in Link.children is placed as the second argument of href. when using code block, judge whether the language exists and add lstlisting...
### What version of Go, VS Code & VS Code Go extension are you using? Version Information * Run `go version` to get version of Go from _the VS Code...
Problem demo: The demo repository is [Lslightly/delve-dbg-child-proc](https://github.com/Lslightly/delve-dbg-child-proc), where I can debug child process in delve. But I can't debug child process in vscode-go. Although most go projects are organized as...