Attempt to fix SixLabors.ImageSharp.Image link

This commit is contained in:
Anton Firszov 2022-02-07 17:14:16 +01:00 коммит произвёл GitHub
Родитель 363d0cd4c5
Коммит aa02dfeaea
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -50,7 +50,7 @@ It's also possible to do the other way around, and wrap an existing native buffe
### Troubleshooting memory leaks
Strictly speaking, ImageSharp is safe against memory leaks, because finalizers will take care of the native memory resources leaked by omitting `Dispose()` or `using` blocks. However, letting the memory leak to finalizers may lead to performance issues and if GC execution can't keep up with the leaks, to `OutOfMemoryException`. Application code should take care of disposing any @`SixLabors.ImageSharp.Image` allocated.
Strictly speaking, ImageSharp is safe against memory leaks, because finalizers will take care of the native memory resources leaked by omitting `Dispose()` or `using` blocks. However, letting the memory leak to finalizers may lead to performance issues and if GC execution can't keep up with the leaks, to `OutOfMemoryException`. Application code should take care of disposing any @"SixLabors.ImageSharp.Image`1" allocated.
In complex and large apps, this might be hard to verify. ImageSharp 2.0+ exposes some code-first diagnostic API-s that may help detecting leaks.
@ -70,4 +70,4 @@ MemoryDiagnostics.UndisposedAllocation += allocationStackTrace =>
Environment.Exit(1);
};
#endif
```
```