Unsubscription not working during synchronous execution of code

Bug Report

Current Behavior
Unsubscription not working during synchronous execution of code

Reproduction

Expected behavior
Should unsubscribe like it does with asynchronous code

Environment

  • RxJS version: 6.5.4

Additional context/Screenshots
Screenshot 2020-02-12 at 10 41 54 AM

1 possible answer(s) on “Unsubscription not working during synchronous execution of code