DEV Community

Discussion on: Head First Design Pattern: 4 of 10

Collapse
sanmiade profile image
Oluwasanmi Aderibigbe Author

That makes a lot of sense. Thanks Cihat for the explanation. Although, kotlin object is actually thread safe. kotlinlang.org/docs/object-declara...

Thread Thread
ddaypunk profile image
Andy Delso

That is what I thought, but if it is spinning up multiple threads, maybe that is why it is spinning up multiple browser instances. I’ll have to look into it again when I get time away from Android studies lol.