Details

      Description

      This is a regression since a few months ago. A presentation compiler that is asked to shutdown will cause any thread that calls `ask` to wait forever for a response. The sequence of calls is the following:

      	def askItem(): Response[Unit] = {
      		compiler.askForResponse { () =>
      			Thread.sleep(100)
      			println("inside Ask")
      		}
      	}
      
      	def main(args: Array[String]) {
      		val item1 = askItem()
      
      		compiler.askShutdown()
      
      		Thread.sleep(1000)
      		val item2 = askItem()
      
                      item2.get // will never return
             }
      

      The second call to askitem places the work item on a queue that is not serviced anymore.

        Activity

        Hide
        Grzegorz Kossakowski added a comment -

        Iulian, do you want this to be fixed in 2.10.0? You marked it as critical intentionally, right?

        Show
        Grzegorz Kossakowski added a comment - Iulian, do you want this to be fixed in 2.10.0? You marked it as critical intentionally, right?
        Hide
        Iulian Dragos added a comment -

        Yes, and the pull request is waiting for reviewers.

        Show
        Iulian Dragos added a comment - Yes, and the pull request is waiting for reviewers.

          People

          • Assignee:
            Iulian Dragos
            Reporter:
            Iulian Dragos
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development