Skip to content

Commit e35e6b1

Browse files
Update src/connections/sources/catalog/libraries/server/csharp/index.md
1 parent e6bc2cd commit e35e6b1

File tree

1 file changed

+2
-1
lines changed
  • src/connections/sources/catalog/libraries/server/csharp

1 file changed

+2
-1
lines changed

src/connections/sources/catalog/libraries/server/csharp/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ To get started with the Analytics-CSharp library:
5555
flushInterval: 30);
5656
var analytics = new Analytics(configuration);
5757
```
58+
5859
> info ""
59-
>When using the library with a scoped lifetime, be aware of potential consequences. Our SDK is designed to be disposable, meaning objects are disposed of when the analytics instance is disposed. We avoid using singletons for configurations or HTTP clients to prevent memory management issues. Instead, if customers wish to use singletons, we recommend customers create their own HTTP client provider with a singleton HTTP client for better control and management.
60+
> Segment's SDK is designed to be disposable, meaning Segment disposes of objects when the analytics instance is disposed. Segment avoids using singletons for configurations or HTTP clients to prevent memory management issues. If you want to use singletons, create your own HTTP client provider with a singleton HTTP client for better control and management.
6061

6162
| Option Name | Description |
6263
|-----------------------------|---------------|

0 commit comments

Comments
 (0)