medz / prisma-dart

Prisma Client Dart is an auto-generated type-safe ORM. It uses Prisma Engine as the data access layer and is as consistent as possible with the Prisma Client JS/TS APIs.
https://prisma.pub
BSD 3-Clause "New" or "Revised" License
436 stars 29 forks source link

prisma-query-engine is not closing when the program is finished #357

Open kidusdev opened 2 months ago

kidusdev commented 2 months ago

20240417_103731.jpg

prisma-query-engine is not closing when the program is exited. and it is taking space in memory even though our dart program is done. You have to manually kill the process in task manager... is there a way to close the engine

medz commented 2 months ago

IMG_1005 https://prisma.pub/getting-started/setup.htm

This is a known problem. At present, I haven't found a better solution. Maybe the CABI engine will not have this problem in future versions.