If you are asking “I observe this behaviour, is it correct?” then this sounds like a well written bundle with good behaviour. Threads started by a bundle when it starts should be stopped when it stops. Similarly sockets opened, or other resources claimed, should be closed/released.
If you are asking “Will OSGi automatically ensure that this behaviour occurs?” then no. As always you the programmer are responsible for cleaning up after yourself. Best Regards, Tim Sent from my iPhone > On 19 Nov 2018, at 17:05, Ali Parmaksız via osgi-dev <osgi-dev@mail.osgi.org> > wrote: > > Hi all, > > I have an osgi bundle. And this bundle starts a timer. If i stop the bundle, > timer stops too? > > -- > Ali Parmaksız > > TEL:5052555693 > _______________________________________________ > OSGi Developer Mail List > osgi-dev@mail.osgi.org > https://mail.osgi.org/mailman/listinfo/osgi-dev _______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev